SlideShare a Scribd company logo
EE-2027 SaS, L3: 1/20
Lecture 3: Signals & Systems Concepts
Systems, signals, mathematical models. Continuous-
time and discrete-time signals. Energy and power
signals. Linear systems. Examples for use
throughout the course, introduction to Matlab and
Simulink tools.
Specific objectives:
• Introduction to systems
• Continuous and discrete time systems
• Properties of a system
• Linear (time invariant) LTI systems
• System implementation in Matlab and Simulink
EE-2027 SaS, L3: 2/20
Lecture 3: Resources
SaS, Oppenheim & Willsky, C1
MIT notes, Lecture 2
Mastering Matlab 6, Prentice Hall
Mastering Simulink 4
Matlab help
EE-2027 SaS, L3: 3/20
Linear Systems
A system takes a signal as an input and transforms it into
another signal
Linear systems play a crucial role in most areas of science
– Closed form solutions often exist
– Theoretical analysis is considerably simplified
– Non-linear systems can often be regarded as linear, for
small perturbations, so-called linearization
For the remainder of the lecture/course we’re primarily going
to be considering Linear, Time Invariant systems (LTI) and
consider their properties
continuous
time (CT)
discrete
time (DT)
y(t)
x(t)
y[n]
x[n]
EE-2027 SaS, L3: 4/20
Examples of Simple Systems
To get some idea of typical systems (and their properties),
consider the electrical circuit example:
which is a first order, CT differential equation.
Examples of first order, DT difference equations:
where y is the monthly bank balance, and x is monthly net deposit
which represents a discretised version of the electrical circuit
Example of second order system includes:
System described by order and parameters (a, b, c)
)
(
1
)
(
1
)
(
t
v
RC
t
v
RC
dt
t
dv
s
c
c


]
1
[
01
.
1
]
[
]
[ 

 n
y
n
x
n
y
]
[
]
1
[
]
[ n
f
k
RC
k
n
v
k
RC
RC
n
v





)
(
)
(
)
(
)
(
2
2
t
x
t
cy
dt
t
dy
b
dt
t
y
d
a 


EE-2027 SaS, L3: 5/20
First Order Step Responses
People tend to visualise systems in terms of their responses
to simple input signals (see Lecture 4…)
The dynamics of the output signal are determined by the
dynamics of the system, if the input signal has no
dynamics
Consider when the input signal is a step at t, n = 1, y(0) = 0
First order CT differential system First order DT difference system
]
1
[
]
1
[
)
1
](
[ 



 n
ku
n
y
ak
n
y
)
1
(
)
(
)
(


 t
u
t
ay
dt
t
dy
t
u(t)
y(t)
EE-2027 SaS, L3: 6/20
System Linearity
Specifically, a linear system must satisfy the two properties:
1 Additive: the response to x1(t)+x2(t) is y1(t) + y2(t)
2 Scaling: the response to ax1(t) is ay1(t) where aC
Combined: ax1(t)+bx2(t)  ay1(t) + by2(t)
E.g. Linear y(t) = 3*x(t) why?
Non-linear y(t) = 3*x(t)+2, y(t) = 3*x2
(t) why?
(equivalent definition for DT systems)
x
y
The most important property that a system
possesses is linearity
It means allows any system response to be
analysed as the sum of simpler responses
(convolution)
Simplistically, it can be imagined as a line
EE-2027 SaS, L3: 7/20
Bias and Zero Initial Conditions
Intuitively, a system such as:
y(t) = 3*x(t)+2
is regarded as being linear. However, it does not satisfy the
scaling condition.
There are several (similar) ways to transform it to an
equivalent linear system
Perturbations around operating value x*
, y*
Linear System Derivative
Locally, these ideas can also be used to linearise a non-
linear system in a small range
)
(
*
3
)
(
)
(
)
(
,
)
(
)
( *
*
t
t
y
t
y
t
x
t
x
t
x
y
y
x









)
(
3
)
( t
x
t
y 


EE-2027 SaS, L3: 8/20
Linearity and Superposition
Suppose an input signal x[n] is made of a linear sum of
other (basis/simpler) signals xk[n]:
then the (linear) system response is:
The basic idea is that if we understand how simple signals
get affected by the system, we can work out how complex
signals are affected, by expanding them as a linear sum
This is known as the superposition property which is true for
linear systems in both CT & DT
Important for understanding convolution (next lecture)
 



 k k
k n
x
a
n
x
a
n
x
a
n
x
a
n
x 
]
[
]
[
]
[
]
[
]
[ 3
3
2
2
1
1
 



 k k
k n
y
a
n
y
a
n
y
a
n
y
a
n
y 
]
[
]
[
]
[
]
[
]
[ 3
3
2
2
1
1
EE-2027 SaS, L3: 9/20
Definition of Time Invariance
A system is time invariant if its behaviour and characteristics are
fixed over time
We would expect to get the same results from an input-output
experiment, if the same input signal was fed in at a different time
E.g. The following CT system is time-invariant
because it is invariant to a time shift, i.e. x2(t) = x1(t-t0)
E.g. The following DT system is time-varying
Because the system parameter that multiplies the input signal is
time varying, this can be verified by substitution
))
(
sin(
)
( t
x
t
y 
))
(
(
))
(
sin(
))
(
sin(
)
( 0
1
1
0
1
2
2 t
t
x
y
t
t
x
t
x
t
y 




]
[
]
[ n
nx
n
y 
]
1
[
]
[
]
1
[
]
[
0
]
[
]
[
]
[
2
2
1
1








n
n
y
n
n
x
n
y
n
n
x



EE-2027 SaS, L3: 10/20
System with and without Memory
A system is said to be memoryless if its output for each value of
the independent variable at a given time is dependent on the
output at only that same time (no system dynamics)
e.g. a resistor is a memoryless CT system where x(t) is current
and y(t) is the voltage
A DT system with memory is an accumulator (integrator)
and a delay
Roughly speaking, a memory corresponds to a mechanism in the
system that retains information about input values other than
the current time.
2
2
])
[
]
[
2
(
]
[ n
x
n
x
n
y 

 


n
k
k
x
n
y ]
[
]
[
]
1
[
]
[ 
 n
x
n
y
]
[
]
1
[
]
[
]
[
]
[
1
n
x
n
y
n
x
k
x
n
y
n
k








EE-2027 SaS, L3: 11/20
System Causality
A system is causal if the output at any time depends on values of
the output at only the present and past times. Referred to as
non-anticipative, as the system output does not anticipate
future values of the input
If two input signals are the same up to some point t0/n0, then the
outputs from a causal system must be the same up to then.
E.g. The accumulator system is causal:
because y[n] only depends on x[n], x[n-1], …
E.g. The averaging/filtering system is non-causal
because y[n] depends on x[n+1], x[n+2], …
Most physical systems are causal
 


n
k
k
x
n
y ]
[
]
[
 

 

M
M
k
M k
n
x
n
y ]
[
]
[ 1
2
1
EE-2027 SaS, L3: 12/20
System Stability
Informally, a stable system is one in which small input signals lead
to responses that do not diverge
If an input signal is bounded, then the output signal must also be
bounded, if the system is stable
To show a system is stable we have to do it for all input signals.
To show instability, we just have to find one counterexample
E.g. Consider the DT system of the bank account
when x[n] = [n], y[0] = 0
This grows without bound, due to 1.01 multiplier. This system is
unstable.
E.g. Consider the CT electrical circuit, is stable if RC>0, because it
dissipates energy
V
y
U
x
x 


 :
]
1
[
01
.
1
]
[
]
[ 

 n
y
n
x
n
y
)
(
1
)
(
1
)
(
t
v
RC
t
v
RC
dt
t
dv
s
c
c


EE-2027 SaS, L3: 13/20
Invertible and Inverse Systems
A system is said to be invertible if distinct inputs lead to distinct
outputs (similar to matrix invertibility)
If a system is invertible, an inverse system exists which, when
cascaded with the original system, yields an output equal to
the input of the first signal
E.g. the CT system is invertible:
y(t) = 2x(t)
because w(t) = 0.5*y(t) recovers the original signal x(t)
E.g. the CT system is not-invertible
y(t) = x2(t)
because distinct input signals lead to the same output signal
Widely used as a design principle:
– Encryption, decryption
– System control, where the reference signal is input
EE-2027 SaS, L3: 14/20
Systems are generally composed of components (sub-systems).
We can use our understanding of the components and their
interconnection to understand the operation and behaviour of
the overall system
Series/cascade
Parallel
Feedback
System Structures
System 1 System 2
x y
System 1
System 2
x y
+
System 2
System 1
x y
+
EE-2027 SaS, L3: 15/20
Systems In Matlab
A system transforms a signal into another signal.
In Matlab a discrete signal is represented as an indexed
vector.
Therefore, a matrix or a for loop can be used to
transform one vector into another
Example (DT first order system)
>> n = 0:10;
>> x = ones(size(n));
>> x(1) = 0;
>> y(1) = 0;
>> for i=2:11
y(i) = (y(i-1) + x(i))/2;
end
>> plot(n, x, ‘x’, n, y, ‘.’)
EE-2027 SaS, L3: 16/20
System Libraries in Simulink
EE-2027 SaS, L3: 17/20
Example 1: Voltage Simulation
Click File-New to create a new workspace, and drag
and drop objects from the library onto the workspace.
Selecting Simulation-Start from the pull down menu
will run the dynamic simulation. Click on the blocks
to view the data or alter the run-time parameters
EE-2027 SaS, L3: 18/20
Example 2: Mass-Spring Simulation
Mass-spring system demonstration in Simulink
Square wave input signal, oscillatory output signal
EE-2027 SaS, L3: 19/20
Lecture 3: Summary
Whenever we use an equation for a system:
• CT – differential
• DT – difference
The parameters, order and structure represent the system
There are a large class of systems that are linear, time
invariant (LTI), these will primarily be studied on this
course.
Other system properties such as causality, stability,
memory and invertibility will be dealt with on a case by
case basis
Matlab and Simulink are standard tools for analysing,
designing, simulating complex systems.
Used for system modelling and control design
EE-2027 SaS, L3: 20/20
Lecture 3: Exercises
SaS OW Q1-27 to Q1-31
Matlab and Simulink
1) Enter the DT first-order system described on Slide 15
into Matlab and check the response
2) Create the CT first-order system described on Slide
17 into Simulink and check the response
3) Run the Mass-Spring simulation mentioned on Slide
18 (this is one of Simulink’s in-built demonstration).
Have a look at how each of the blocks are configured

More Related Content

PPTX
Lec.2 Basics properties system for your information
PPTX
السلام عليكم ورحمة الله وبركاته وبعد ان قرأت الموضوع مفيده
PDF
Unit 2 signal &system
PPT
Lecture5 Signal and Systems
PPTX
Signals & Systems PPT
PDF
ssppt-170414031953.pdf
PDF
Digital Signal Processing[ECEG-3171]-Ch1_L03
Lec.2 Basics properties system for your information
السلام عليكم ورحمة الله وبركاته وبعد ان قرأت الموضوع مفيده
Unit 2 signal &system
Lecture5 Signal and Systems
Signals & Systems PPT
ssppt-170414031953.pdf
Digital Signal Processing[ECEG-3171]-Ch1_L03

Similar to signal and systems basics for engineering (20)

PPT
Lecture6 Signal and Systems
PPTX
STATE_SPACE_ANALYSIS.final.pptx FOR ENGINEERING STUDENTS
PPT
Lecture3 Signal and Systems
PPT
Signals and classification
PDF
BEC- 26 control systems_unit-II
PDF
Lecture 1
PDF
STATE_SPACE_ANALYSIS.pdf
PDF
STATE_SPACE_ANALYSIs STATE_SPACE_ANALYSIs
PDF
EE200_SSN_sandhan_L04 Fourier Series(1/2).pdf
PPTX
lecture4signals-181130200508.pptx
PDF
Lecture 5: The Convolution Sum
PDF
Lec-1.pdf
PDF
Dynamic_Linear_Systems_Lecture2-Linear.pdf
DOCX
Signals & systems
PDF
02_signals.pdf
PDF
Digital Signal Processing : Topic 1: Discrete Time Systems (std).pdf
PDF
Lecture 4: Classification of system
PDF
State space model
PPT
df_lesson_01.ppt
PDF
Dynamic Kohonen Network for Representing Changes in Inputs
Lecture6 Signal and Systems
STATE_SPACE_ANALYSIS.final.pptx FOR ENGINEERING STUDENTS
Lecture3 Signal and Systems
Signals and classification
BEC- 26 control systems_unit-II
Lecture 1
STATE_SPACE_ANALYSIS.pdf
STATE_SPACE_ANALYSIs STATE_SPACE_ANALYSIs
EE200_SSN_sandhan_L04 Fourier Series(1/2).pdf
lecture4signals-181130200508.pptx
Lecture 5: The Convolution Sum
Lec-1.pdf
Dynamic_Linear_Systems_Lecture2-Linear.pdf
Signals & systems
02_signals.pdf
Digital Signal Processing : Topic 1: Discrete Time Systems (std).pdf
Lecture 4: Classification of system
State space model
df_lesson_01.ppt
Dynamic Kohonen Network for Representing Changes in Inputs
Ad

More from ArunaDeviAssociatePr (9)

PPTX
signals and systems Unit 2 basics fourier transformm.pptx
PPT
Eplieptic Seizure General Introduction and Prediction.ppt
PPTX
finite state machine in designing asynchronous and synchronous system
PPTX
Design and innovation in designing a low cost robot
PPT
DIGITAL SOLVED PROBLEMS FOR EDUCATION ENGG
PPT
DIGITAL ELECTRONICS FOR ENGINEERS AND BASICS
PPT
signals and systems basics to all engineering
PPT
stars classification and galaxy world representation
PPT
whitedwarfs in space science helps in classification and types of stars
signals and systems Unit 2 basics fourier transformm.pptx
Eplieptic Seizure General Introduction and Prediction.ppt
finite state machine in designing asynchronous and synchronous system
Design and innovation in designing a low cost robot
DIGITAL SOLVED PROBLEMS FOR EDUCATION ENGG
DIGITAL ELECTRONICS FOR ENGINEERS AND BASICS
signals and systems basics to all engineering
stars classification and galaxy world representation
whitedwarfs in space science helps in classification and types of stars
Ad

Recently uploaded (20)

PPTX
different types of Gait in orthopaedic injuries
PPTX
Infection prevention and control for medical students
DOCX
Copies if quanti.docxsegdfhfkhjhlkjlj,klkj
PPTX
Genaralised anxiety disorder presentation
PDF
Priorities Critical Care Nursing 7th Edition by Urden Stacy Lough Test Bank.pdf
PDF
Dr. Jasvant Modi - Passionate About Philanthropy
PPTX
Medical aspects of impairment including all the domains mentioned in ICF
PPTX
PEDIATRIC OSCE, MBBS, by Dr. Sangit Chhantyal(IOM)..pptx
PPTX
Vaginal Bleeding and Uterine Fibroids p
PDF
Megan Miller Colona Illinois - Passionate About CrossFit
PPTX
General Pharmacology by Nandini Ratne, Nagpur College of Pharmacy, Hingna Roa...
PPTX
NUTRITIONAL PROBLEMS, CHANGES NEEDED TO PREVENT MALNUTRITION
PPTX
ABG advance Arterial Blood Gases Analysis
PDF
Dermatology diseases Index August 2025.pdf
PDF
DAY-6. Summer class. Ppt. Cultural Nursing
PDF
Khaled Sary- Trailblazers of Transformation Middle East's 5 Most Inspiring Le...
PDF
Dr Masood Ahmed Expertise And Sucess Story
PPTX
Rheumatic heart diseases with Type 2 Diabetes Mellitus
PPTX
Importance of Immediate Response (1).pptx
PPTX
Galactosemia pathophysiology, clinical features, investigation and treatment ...
different types of Gait in orthopaedic injuries
Infection prevention and control for medical students
Copies if quanti.docxsegdfhfkhjhlkjlj,klkj
Genaralised anxiety disorder presentation
Priorities Critical Care Nursing 7th Edition by Urden Stacy Lough Test Bank.pdf
Dr. Jasvant Modi - Passionate About Philanthropy
Medical aspects of impairment including all the domains mentioned in ICF
PEDIATRIC OSCE, MBBS, by Dr. Sangit Chhantyal(IOM)..pptx
Vaginal Bleeding and Uterine Fibroids p
Megan Miller Colona Illinois - Passionate About CrossFit
General Pharmacology by Nandini Ratne, Nagpur College of Pharmacy, Hingna Roa...
NUTRITIONAL PROBLEMS, CHANGES NEEDED TO PREVENT MALNUTRITION
ABG advance Arterial Blood Gases Analysis
Dermatology diseases Index August 2025.pdf
DAY-6. Summer class. Ppt. Cultural Nursing
Khaled Sary- Trailblazers of Transformation Middle East's 5 Most Inspiring Le...
Dr Masood Ahmed Expertise And Sucess Story
Rheumatic heart diseases with Type 2 Diabetes Mellitus
Importance of Immediate Response (1).pptx
Galactosemia pathophysiology, clinical features, investigation and treatment ...

signal and systems basics for engineering

  • 1. EE-2027 SaS, L3: 1/20 Lecture 3: Signals & Systems Concepts Systems, signals, mathematical models. Continuous- time and discrete-time signals. Energy and power signals. Linear systems. Examples for use throughout the course, introduction to Matlab and Simulink tools. Specific objectives: • Introduction to systems • Continuous and discrete time systems • Properties of a system • Linear (time invariant) LTI systems • System implementation in Matlab and Simulink
  • 2. EE-2027 SaS, L3: 2/20 Lecture 3: Resources SaS, Oppenheim & Willsky, C1 MIT notes, Lecture 2 Mastering Matlab 6, Prentice Hall Mastering Simulink 4 Matlab help
  • 3. EE-2027 SaS, L3: 3/20 Linear Systems A system takes a signal as an input and transforms it into another signal Linear systems play a crucial role in most areas of science – Closed form solutions often exist – Theoretical analysis is considerably simplified – Non-linear systems can often be regarded as linear, for small perturbations, so-called linearization For the remainder of the lecture/course we’re primarily going to be considering Linear, Time Invariant systems (LTI) and consider their properties continuous time (CT) discrete time (DT) y(t) x(t) y[n] x[n]
  • 4. EE-2027 SaS, L3: 4/20 Examples of Simple Systems To get some idea of typical systems (and their properties), consider the electrical circuit example: which is a first order, CT differential equation. Examples of first order, DT difference equations: where y is the monthly bank balance, and x is monthly net deposit which represents a discretised version of the electrical circuit Example of second order system includes: System described by order and parameters (a, b, c) ) ( 1 ) ( 1 ) ( t v RC t v RC dt t dv s c c   ] 1 [ 01 . 1 ] [ ] [    n y n x n y ] [ ] 1 [ ] [ n f k RC k n v k RC RC n v      ) ( ) ( ) ( ) ( 2 2 t x t cy dt t dy b dt t y d a   
  • 5. EE-2027 SaS, L3: 5/20 First Order Step Responses People tend to visualise systems in terms of their responses to simple input signals (see Lecture 4…) The dynamics of the output signal are determined by the dynamics of the system, if the input signal has no dynamics Consider when the input signal is a step at t, n = 1, y(0) = 0 First order CT differential system First order DT difference system ] 1 [ ] 1 [ ) 1 ]( [      n ku n y ak n y ) 1 ( ) ( ) (    t u t ay dt t dy t u(t) y(t)
  • 6. EE-2027 SaS, L3: 6/20 System Linearity Specifically, a linear system must satisfy the two properties: 1 Additive: the response to x1(t)+x2(t) is y1(t) + y2(t) 2 Scaling: the response to ax1(t) is ay1(t) where aC Combined: ax1(t)+bx2(t)  ay1(t) + by2(t) E.g. Linear y(t) = 3*x(t) why? Non-linear y(t) = 3*x(t)+2, y(t) = 3*x2 (t) why? (equivalent definition for DT systems) x y The most important property that a system possesses is linearity It means allows any system response to be analysed as the sum of simpler responses (convolution) Simplistically, it can be imagined as a line
  • 7. EE-2027 SaS, L3: 7/20 Bias and Zero Initial Conditions Intuitively, a system such as: y(t) = 3*x(t)+2 is regarded as being linear. However, it does not satisfy the scaling condition. There are several (similar) ways to transform it to an equivalent linear system Perturbations around operating value x* , y* Linear System Derivative Locally, these ideas can also be used to linearise a non- linear system in a small range ) ( * 3 ) ( ) ( ) ( , ) ( ) ( * * t t y t y t x t x t x y y x          ) ( 3 ) ( t x t y   
  • 8. EE-2027 SaS, L3: 8/20 Linearity and Superposition Suppose an input signal x[n] is made of a linear sum of other (basis/simpler) signals xk[n]: then the (linear) system response is: The basic idea is that if we understand how simple signals get affected by the system, we can work out how complex signals are affected, by expanding them as a linear sum This is known as the superposition property which is true for linear systems in both CT & DT Important for understanding convolution (next lecture)       k k k n x a n x a n x a n x a n x  ] [ ] [ ] [ ] [ ] [ 3 3 2 2 1 1       k k k n y a n y a n y a n y a n y  ] [ ] [ ] [ ] [ ] [ 3 3 2 2 1 1
  • 9. EE-2027 SaS, L3: 9/20 Definition of Time Invariance A system is time invariant if its behaviour and characteristics are fixed over time We would expect to get the same results from an input-output experiment, if the same input signal was fed in at a different time E.g. The following CT system is time-invariant because it is invariant to a time shift, i.e. x2(t) = x1(t-t0) E.g. The following DT system is time-varying Because the system parameter that multiplies the input signal is time varying, this can be verified by substitution )) ( sin( ) ( t x t y  )) ( ( )) ( sin( )) ( sin( ) ( 0 1 1 0 1 2 2 t t x y t t x t x t y      ] [ ] [ n nx n y  ] 1 [ ] [ ] 1 [ ] [ 0 ] [ ] [ ] [ 2 2 1 1         n n y n n x n y n n x   
  • 10. EE-2027 SaS, L3: 10/20 System with and without Memory A system is said to be memoryless if its output for each value of the independent variable at a given time is dependent on the output at only that same time (no system dynamics) e.g. a resistor is a memoryless CT system where x(t) is current and y(t) is the voltage A DT system with memory is an accumulator (integrator) and a delay Roughly speaking, a memory corresponds to a mechanism in the system that retains information about input values other than the current time. 2 2 ]) [ ] [ 2 ( ] [ n x n x n y       n k k x n y ] [ ] [ ] 1 [ ] [   n x n y ] [ ] 1 [ ] [ ] [ ] [ 1 n x n y n x k x n y n k        
  • 11. EE-2027 SaS, L3: 11/20 System Causality A system is causal if the output at any time depends on values of the output at only the present and past times. Referred to as non-anticipative, as the system output does not anticipate future values of the input If two input signals are the same up to some point t0/n0, then the outputs from a causal system must be the same up to then. E.g. The accumulator system is causal: because y[n] only depends on x[n], x[n-1], … E.g. The averaging/filtering system is non-causal because y[n] depends on x[n+1], x[n+2], … Most physical systems are causal     n k k x n y ] [ ] [       M M k M k n x n y ] [ ] [ 1 2 1
  • 12. EE-2027 SaS, L3: 12/20 System Stability Informally, a stable system is one in which small input signals lead to responses that do not diverge If an input signal is bounded, then the output signal must also be bounded, if the system is stable To show a system is stable we have to do it for all input signals. To show instability, we just have to find one counterexample E.g. Consider the DT system of the bank account when x[n] = [n], y[0] = 0 This grows without bound, due to 1.01 multiplier. This system is unstable. E.g. Consider the CT electrical circuit, is stable if RC>0, because it dissipates energy V y U x x     : ] 1 [ 01 . 1 ] [ ] [    n y n x n y ) ( 1 ) ( 1 ) ( t v RC t v RC dt t dv s c c  
  • 13. EE-2027 SaS, L3: 13/20 Invertible and Inverse Systems A system is said to be invertible if distinct inputs lead to distinct outputs (similar to matrix invertibility) If a system is invertible, an inverse system exists which, when cascaded with the original system, yields an output equal to the input of the first signal E.g. the CT system is invertible: y(t) = 2x(t) because w(t) = 0.5*y(t) recovers the original signal x(t) E.g. the CT system is not-invertible y(t) = x2(t) because distinct input signals lead to the same output signal Widely used as a design principle: – Encryption, decryption – System control, where the reference signal is input
  • 14. EE-2027 SaS, L3: 14/20 Systems are generally composed of components (sub-systems). We can use our understanding of the components and their interconnection to understand the operation and behaviour of the overall system Series/cascade Parallel Feedback System Structures System 1 System 2 x y System 1 System 2 x y + System 2 System 1 x y +
  • 15. EE-2027 SaS, L3: 15/20 Systems In Matlab A system transforms a signal into another signal. In Matlab a discrete signal is represented as an indexed vector. Therefore, a matrix or a for loop can be used to transform one vector into another Example (DT first order system) >> n = 0:10; >> x = ones(size(n)); >> x(1) = 0; >> y(1) = 0; >> for i=2:11 y(i) = (y(i-1) + x(i))/2; end >> plot(n, x, ‘x’, n, y, ‘.’)
  • 16. EE-2027 SaS, L3: 16/20 System Libraries in Simulink
  • 17. EE-2027 SaS, L3: 17/20 Example 1: Voltage Simulation Click File-New to create a new workspace, and drag and drop objects from the library onto the workspace. Selecting Simulation-Start from the pull down menu will run the dynamic simulation. Click on the blocks to view the data or alter the run-time parameters
  • 18. EE-2027 SaS, L3: 18/20 Example 2: Mass-Spring Simulation Mass-spring system demonstration in Simulink Square wave input signal, oscillatory output signal
  • 19. EE-2027 SaS, L3: 19/20 Lecture 3: Summary Whenever we use an equation for a system: • CT – differential • DT – difference The parameters, order and structure represent the system There are a large class of systems that are linear, time invariant (LTI), these will primarily be studied on this course. Other system properties such as causality, stability, memory and invertibility will be dealt with on a case by case basis Matlab and Simulink are standard tools for analysing, designing, simulating complex systems. Used for system modelling and control design
  • 20. EE-2027 SaS, L3: 20/20 Lecture 3: Exercises SaS OW Q1-27 to Q1-31 Matlab and Simulink 1) Enter the DT first-order system described on Slide 15 into Matlab and check the response 2) Create the CT first-order system described on Slide 17 into Simulink and check the response 3) Run the Mass-Spring simulation mentioned on Slide 18 (this is one of Simulink’s in-built demonstration). Have a look at how each of the blocks are configured