You are on page 1of 7

DEPARTMENT OF ELECTRICAL ENGINEERING

Faculty Member: Sir Arbab Dated: 27-OCT-22

Section: BEE-12B Semester: Fifth

EE-232 : Signals and Systems


Lab 7 : Linearity in Simulink MATLAB

PLO4 –CLO3 PLO5-CLO3 PLO8-CLO4 PLO9-


CLO4
Name Reg. No Viva / Quiz / Analysis of Modern Tool Ethics and Individu
Lab data in Lab Usage Safety al and
Performance Report Team
Work

5 Marks 5 Marks 5 Marks 5 Marks 5 Marks

Maryam Shafiq 352203

Moiz Asad 356745

Talha Khan 331377

EE-232 Signals and Systems Page 1


Lab 7: Linearity in Simulink MATLAB
INTRODUCTION
This lab is conducted to familiarize us with the linearity of different systems and ways to determine if a
system is linear or non-linear using Simulink.

OBJECTIVES
The objectives of this lab are:

• To determine if a system is linear or nonlinear


• Take understanding of using the features of Simulink

EQUIPMENT USED
MATLAB - Simulink

PRE-LAB TASK

Sine wave on Simulink

EE-232 Signals and Systems Page 2


Linearity test:

Nonlinearity:

Replace the “gain” block in previous task with “sign” block which is a non-linear block. Show that
the system is non-linear by showing that the principle of superposition does not hold.

EE-232 Signals and Systems Page 3


EXERCISE

Task01:
Use Simulink to design a non-linear system and show that the systemis non-linear by showing that
the principle of superposition does nothold.

EE-232 Signals and Systems Page 4


Hence, nonlinear system not holding principle of superposition is shown above.

Task02:

Use the symbolic toolbox to show that the squaring operation is not linear. That is, use the
symbolic toolbox to show that

EE-232 Signals and Systems Page 5


L.H.S:

R.H.S:

EE-232 Signals and Systems Page 6


Hence proved, L.H.S is not equal to R.H.S as given in the question.

Conclusion:
In this lab we learnt about linearity and non-linearity of systems and ways to test them out using Simulink.

EE-232 Signals and Systems Page 7

You might also like