SlideShare a Scribd company logo
3
Most read
7
Most read
11
Most read
ELECTRICAL DEPARTMENT
Topic :Signals,Classification of
signals,Basic signals..
Subject: Signal & System-2141005
Signals Concepts
Specific objectives are
What is signal?
Different types of signals
1.Analog &Digital Signal
2.Periodic & Aperiodic signal
3.Power & Energy signal etc
Representing signals in Matlab & Simulink
What is signal?
In electrical engineering, the fundamental quantity of
representing some information is called a signal. It does not
matter what the information is i-e: Analog or digital
information. In mathematics, a signal is a function that
conveys some information. In fact any quantity measurable
through time over space or any higher dimension can be taken
as a signal. A signal could be of any dimension and could be of
any form.
Analog and Digital Signal
Analog signal is a continuous signal for which the time varying
feature of the signal is a representation of some other time varying
quantity.
Digital Signal is a signal that represents a sequence of discrete
values.
A logic signal is a digital signal with only two possible values, and
Periodic Signals
An important class of signals is the class of periodic
signals. A periodic signal is a continuous time signal
x(t), that has the property
where T>0, for all t.
Examples:
cos(t+2π) = cos(t)
sin(t+2π) = sin(t)
Are both periodic with period 2π
for a signal to be periodic, the relationship must hold
for all t.
)()( Ttxtx +=
2π
Aperiodic signal
Aperiodic signal: An aperiodic function never
repeats, although technically an aperiodic function
can be considered like a periodic function with an
infinite period.
Examples: Sound signal, noise signal etc.
Continuous & Discrete Signals
Continuous-Time Signals
Most signals in the real world are
continuous time, as the scale is
infinitesimally fine.
E.g. voltage, velocity,
Denote by x(t), where the time
interval may be bounded (finite) or
infinite
Discrete-Time Signals
Some real world and many digital
signals are discrete time, as they are
sampled
E.g. pixels, daily stock price (anything
that a digital computer processes)
Denote by x[n], where n is an integer
value that varies discretely
Sampled continuous signal
x[n] =x(nk)
x(t)
t
x[n]
n
Discrete Unit Impulse and Step Signals
The discrete unit impulse signal is defined:
Useful as a basis for analyzing other signals
The discrete unit step signal is defined:
Note that the unit impulse is the first
difference (derivative) of the step signal
Similarly, the unit step is the running sum
(integral) of the unit impulse.



=
≠
==
01
00
][][
n
n
nnx δ



≥
<
==
01
00
][][
n
n
nunx
]1[][][ −−= nununδ
Continuous Unit Impulse and Step Signals
The continuous unit impulse signal is
defined:
Note that it is discontinuous at t=0
The arrow is used to denote area, rather than
actual value
Again, useful for an infinite basis
The continuous unit step signal is defined:



=∞
≠
==
0
00
)()(
t
t
ttx δ
∫ ∞−
==
t
dtutx ττδ )()()(



>
<
==
01
00
)()(
t
t
tutx
Electrical Signal Energy & Power
It is often useful to characterise signals by measures
such as energy and power
For example, the instantaneous power of a resistor is:
and the total energy expanded over the interval [t1, t2]
is:
and the average energy is:
)(
1
)()()( 2
tv
R
titvtp ==
∫∫ =
2
1
2
1
)(
1
)( 2
t
t
t
t
dttv
R
dttp
∫∫ −
=
−
2
1
2
1
)(
11
)(
1 2
1212
t
t
t
t
dttv
Rtt
dttp
tt
Odd and Even SignalsAn even signal is identical to its time reversed signal, i.e. it
can be reflected in the origin and is equal to the original:
Examples:
x(t) = cos(t)
x(t) = c
An odd signal is identical to its negated, time reversed signal,
i.e. it is equal to the negative reflected signal
Examples:
x(t) = sin(t)
x(t) = t
This is important because any signal can be expressed as the
sum of an odd signal and an even signal.
)()( txtx =−
)()( txtx −=−
Time Shift Signal
A central concept in signal analysis is the transformation of one signal
into another signal. Of particular interest are simple
transformations that involve a transformation of the time axis only.
A linear time shift signal transformation is given by:
where b represents a signal offset from 0, and the a parameter
represents a signal stretching if |a|>1, compression if 0<|a|<1 and a
reflection if a<0.
)()( batxty +=
Exponential and Sinusoidal Signals
Exponential and sinusoidal signals are characteristic of real-world
signals and also from a basis (a building block) for other signals.
A generic complex exponential signal is of the form:
where C and a are, in general, complex numbers. Lets investigate
some special cases of this signal
Real exponential signals
at
Cetx =)(
0
0
>
>
C
a
0
0
>
<
C
a
Exponential growth Exponential decay
Periodic Complex Exponential &
Sinusoidal SignalsConsider when a is purely imaginary:
By Euler’s relationship, this can be expressed as:
This is a periodic signals because:
when T=2π/ω0
A closely related signal is the sinusoidal signal:
We can always use:
tj
Cetx 0
)( ω
=
tjte tj
00 sincos0
ωωω
+=
tj
Ttj
etjt
TtjTte
0
0
00
00
)(
sincos
)(sin)(cos
ω
ω
ωω
ωω
=+=
+++=+
( )φω += ttx 0cos)(
00 2 fπω =
( ) ( )
( ) ( ))(
0
)(
0
0
0
sin
cos
φω
φω
φω
φω
+
+
ℑ=+
ℜ=+
tj
tj
eAtA
eAtA
T0 = 2π/ω0
= π
cos(1)
T0 is the fundamental
time period
ω0 is the fundamental
frequency
Exponential & Sinusoidal Signal
Periodic signals, in particular complex periodic
and sinusoidal signals, have infinite total
energy but finite average power.
Consider energy over one period:
Therefore:
Average power:
Useful to consider harmonic signals
Terminology is consistent with its use in music,
where each frequency is an integer multiple of
a fundamental frequency
0
0
0
2
0
0
0
1 Tdt
dteE
T
T
tj
period
==
=
∫
∫
ω
1
1
0
== periodperiod E
T
P
∞=∞E
General Complex Exponential Signals
So far, considered the real and periodic complex exponential
Now consider when C can be complex. Let us express C is polar form and
a in rectangular form:
So
Using Euler’s relation
These are damped sinusoids
0ω
φ
jra
eCC j
+=
=
tjrttjrjat
eeCeeCCe )()( 00 φωωφ ++
==
))sin(())cos(( 00
)( 0
teCjteCeeCCe rtrttjrjat
φωφωωφ
+++== +
Generic Signal Energy and Power
Total energy of a continuous signal x(t) over [t1, t2] is:
where |.| denote the magnitude of the (complex) number.
Similarly for a discrete time signal x[n] over [n1, n2]:
By dividing the quantities by (t2-t1) and (n2-n1+1), respectively,
gives the average power, P
Note that these are similar to the electrical analogies
(voltage), but they are different, both value and dimension.
∫=
2
1
2
)(
t
t
dttxE
∑ =
= 2
1
2
][
n
nn
nxE
Energy and Power over Infinite
Time
For many signals, we’re interested in examining the power and energy
over an infinite time interval (-∞, ∞). These quantities are therefore
defined by:
If the sums or integrals do not converge, the energy of such a signal is
infinite
Two important (sub)classes of signals
1. Finite total energy (and therefore zero average power)
2. Finite average power (and therefore infinite total energy)
Signal analysis over infinite time, all depends on the “tails” (limiting
behaviour)
∫∫
∞
∞−−
∞→∞ == dttxdttxE
T
T
T
22
)()(lim
∑∑
∞
−∞=−=∞→∞ == n
N
NnN nxnxE
22
][][lim
∫−
∞→∞ =
T
T
T dttx
T
P
2
)(
2
1
lim
∑ −=∞→∞
+
=
N
NnN nx
N
P
2
][
12
1
lim
Introduction to Matlab
Simulink is a package that runs inside the Matlab environment.
Matlab (Matrix Laboratory) is a dynamic, interpreted, environment
for matrix/vector analysis
User can build programs (in .m files or at command line) C/Java-like
syntax
Ideal environment for programming and analysing discrete (indexed)
signals and systems
Basic Matlab Operations
>> % This is a comment, it starts with a “%”
>> y = 5*3 + 2^2; % simple arithmetic
>> x = [1 2 4 5 6]; % create the vector “x”
>> x1 = x.^2; % square each element in x
>> E = sum(abs(x).^2); % Calculate signal energy
>> P = E/length(x); % Calculate av signal power
>> x2 = x(1:3); % Select first 3 elements in x
>> z = 1+i; % Create a complex number
>> a = real(z); % Pick off real part
>> b = imag(z); % Pick off imaginary part
>> plot(x); % Plot the vector as a signal
>> t = 0:0.1:100; % Generate sampled time
>> x3=exp(-t).*cos(t); % Generate a discrete signal
>> plot(t, x3, ‘x’); % Plot points
Example: Generate and View a Signal
Copy “sine wave” source and
“scope” sink onto a new
Simulink work space and
connect.
Set sine wave parameters
modify to 2 rad/sec
Run the simulation:
Simulation - Start
Open the scope and leave open
while you change parameters
(sin or simulation
parameters) and re-run
Summary
This presentation has looked at signals:
Power and energy
Signal transformations
Time shift
Periodic
Even and odd signals
Exponential and sinusoidal signals
Unit impulse and step functions
Matlab and Simulink are complementary environments for
producing and analysing continuous and discrete signals.
This will require some effort to learn the programming
syntax and style!

More Related Content

PPTX
Signals & Systems PPT
PPTX
Classification of signals
PPTX
Integumentary system
PPTX
discrete time signals and systems
PDF
Wireless optical communication system
PPT
Signals and classification
PDF
Lecture 4: Classification of system
PPT
Signal & systems
Signals & Systems PPT
Classification of signals
Integumentary system
discrete time signals and systems
Wireless optical communication system
Signals and classification
Lecture 4: Classification of system
Signal & systems

What's hot (20)

PPTX
digital signal processing lecture 1.pptx
PPTX
Butterworth filter
PDF
Digital Signal Processing
PPTX
1. elementary signals
PPTX
Multirate DSP
PDF
1.Basics of Signals
PDF
Signals and systems ch1
PPTX
Lecture No:1 Signals & Systems
PDF
1.introduction to signals
DOCX
Unit step function
PPTX
Parity Generator and Parity Checker
PPTX
Z Transform
PDF
Sampling Theorem
PPT
Time Domain and Frequency Domain
PPT
DAC-digital to analog converter
PPTX
Pulse code modulation (PCM)
PPTX
Fir filter design (windowing technique)
PPT
Power amplifiers
PPTX
Fourier transforms
PPT
OPERATIONS ON SIGNALS
digital signal processing lecture 1.pptx
Butterworth filter
Digital Signal Processing
1. elementary signals
Multirate DSP
1.Basics of Signals
Signals and systems ch1
Lecture No:1 Signals & Systems
1.introduction to signals
Unit step function
Parity Generator and Parity Checker
Z Transform
Sampling Theorem
Time Domain and Frequency Domain
DAC-digital to analog converter
Pulse code modulation (PCM)
Fir filter design (windowing technique)
Power amplifiers
Fourier transforms
OPERATIONS ON SIGNALS
Ad

Viewers also liked (20)

PPTX
Classification of signals
PPTX
Representation of signals
PDF
Signals and Systems Notes
PPTX
Fourier Series for Continuous Time & Discrete Time Signals
PDF
Signals and systems
PDF
Signals and systems( chapter 1)
PDF
Ct signal operations
PDF
Convolution discrete and continuous time-difference equaion and system proper...
PPT
Lecture3 Signal and Systems
PPT
Lecture2 Signal and Systems
PDF
digital signal-processing-lab-manual
PDF
Signals and system notes
DOC
Digital Signal Processing Lab Manual ECE students
PPT
Introduction to Railway Signalling
PPTX
Signalling and Interlocking
PPT
Glimpses of Annamalai University
PDF
September 2008 Monthly Report, Creekview HS Media Center
PPTX
Signaling in railways
PPTX
New microsoft power point presentation
PDF
3.Properties of signals
Classification of signals
Representation of signals
Signals and Systems Notes
Fourier Series for Continuous Time & Discrete Time Signals
Signals and systems
Signals and systems( chapter 1)
Ct signal operations
Convolution discrete and continuous time-difference equaion and system proper...
Lecture3 Signal and Systems
Lecture2 Signal and Systems
digital signal-processing-lab-manual
Signals and system notes
Digital Signal Processing Lab Manual ECE students
Introduction to Railway Signalling
Signalling and Interlocking
Glimpses of Annamalai University
September 2008 Monthly Report, Creekview HS Media Center
Signaling in railways
New microsoft power point presentation
3.Properties of signals
Ad

Similar to Signal classification of signal (20)

DOCX
Signals & systems
PPTX
Basic concepts
DOCX
Introduction to signals and systems Operations on it
PDF
Signals and system
PDF
signal and system Lecture 1
PDF
Lecture 1
PDF
Ec8352 signals and systems 2 marks with answers
PPTX
Communication system 1 chapter 2-part-1
PPTX
Signals and Systems-Unit 1 & 2.pptx
PPT
Telecommunications Signals Lecture 1.ppt
PPT
communication system Chapter 2
PDF
Ss important questions
PPTX
Unit 1 -Introduction to signals and standard signals
PPTX
PPT Chapter-1-V1.pptx__26715_1_1539251776000.pptx.pptx
PDF
Signal and System, CT Signal DT Signal, Signal Processing(amplitude and time ...
DOCX
unit 4,5 (1).docx
PPTX
ssppt-170414031953.pptx
PPTX
Signal and system-1.pptx for B.tech student
PPT
LECTURES summary .ppt
PDF
ssppt-170414031953.pdf
Signals & systems
Basic concepts
Introduction to signals and systems Operations on it
Signals and system
signal and system Lecture 1
Lecture 1
Ec8352 signals and systems 2 marks with answers
Communication system 1 chapter 2-part-1
Signals and Systems-Unit 1 & 2.pptx
Telecommunications Signals Lecture 1.ppt
communication system Chapter 2
Ss important questions
Unit 1 -Introduction to signals and standard signals
PPT Chapter-1-V1.pptx__26715_1_1539251776000.pptx.pptx
Signal and System, CT Signal DT Signal, Signal Processing(amplitude and time ...
unit 4,5 (1).docx
ssppt-170414031953.pptx
Signal and system-1.pptx for B.tech student
LECTURES summary .ppt
ssppt-170414031953.pdf

Recently uploaded (20)

PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PDF
Pre independence Education in Inndia.pdf
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PPTX
PPH.pptx obstetrics and gynecology in nursing
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PPTX
GDM (1) (1).pptx small presentation for students
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PDF
Insiders guide to clinical Medicine.pdf
PDF
Basic Mud Logging Guide for educational purpose
PDF
Computing-Curriculum for Schools in Ghana
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PPTX
Institutional Correction lecture only . . .
PPTX
Cell Structure & Organelles in detailed.
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PDF
Anesthesia in Laparoscopic Surgery in India
PDF
TR - Agricultural Crops Production NC III.pdf
PPTX
Lesson notes of climatology university.
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
human mycosis Human fungal infections are called human mycosis..pptx
Pre independence Education in Inndia.pdf
102 student loan defaulters named and shamed – Is someone you know on the list?
Microbial diseases, their pathogenesis and prophylaxis
PPH.pptx obstetrics and gynecology in nursing
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
GDM (1) (1).pptx small presentation for students
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
Insiders guide to clinical Medicine.pdf
Basic Mud Logging Guide for educational purpose
Computing-Curriculum for Schools in Ghana
Renaissance Architecture: A Journey from Faith to Humanism
Abdominal Access Techniques with Prof. Dr. R K Mishra
Institutional Correction lecture only . . .
Cell Structure & Organelles in detailed.
Module 4: Burden of Disease Tutorial Slides S2 2025
Anesthesia in Laparoscopic Surgery in India
TR - Agricultural Crops Production NC III.pdf
Lesson notes of climatology university.

Signal classification of signal

  • 1. ELECTRICAL DEPARTMENT Topic :Signals,Classification of signals,Basic signals.. Subject: Signal & System-2141005
  • 2. Signals Concepts Specific objectives are What is signal? Different types of signals 1.Analog &Digital Signal 2.Periodic & Aperiodic signal 3.Power & Energy signal etc Representing signals in Matlab & Simulink
  • 3. What is signal? In electrical engineering, the fundamental quantity of representing some information is called a signal. It does not matter what the information is i-e: Analog or digital information. In mathematics, a signal is a function that conveys some information. In fact any quantity measurable through time over space or any higher dimension can be taken as a signal. A signal could be of any dimension and could be of any form.
  • 4. Analog and Digital Signal Analog signal is a continuous signal for which the time varying feature of the signal is a representation of some other time varying quantity. Digital Signal is a signal that represents a sequence of discrete values. A logic signal is a digital signal with only two possible values, and
  • 5. Periodic Signals An important class of signals is the class of periodic signals. A periodic signal is a continuous time signal x(t), that has the property where T>0, for all t. Examples: cos(t+2π) = cos(t) sin(t+2π) = sin(t) Are both periodic with period 2π for a signal to be periodic, the relationship must hold for all t. )()( Ttxtx += 2π
  • 6. Aperiodic signal Aperiodic signal: An aperiodic function never repeats, although technically an aperiodic function can be considered like a periodic function with an infinite period. Examples: Sound signal, noise signal etc.
  • 7. Continuous & Discrete Signals Continuous-Time Signals Most signals in the real world are continuous time, as the scale is infinitesimally fine. E.g. voltage, velocity, Denote by x(t), where the time interval may be bounded (finite) or infinite Discrete-Time Signals Some real world and many digital signals are discrete time, as they are sampled E.g. pixels, daily stock price (anything that a digital computer processes) Denote by x[n], where n is an integer value that varies discretely Sampled continuous signal x[n] =x(nk) x(t) t x[n] n
  • 8. Discrete Unit Impulse and Step Signals The discrete unit impulse signal is defined: Useful as a basis for analyzing other signals The discrete unit step signal is defined: Note that the unit impulse is the first difference (derivative) of the step signal Similarly, the unit step is the running sum (integral) of the unit impulse.    = ≠ == 01 00 ][][ n n nnx δ    ≥ < == 01 00 ][][ n n nunx ]1[][][ −−= nununδ
  • 9. Continuous Unit Impulse and Step Signals The continuous unit impulse signal is defined: Note that it is discontinuous at t=0 The arrow is used to denote area, rather than actual value Again, useful for an infinite basis The continuous unit step signal is defined:    =∞ ≠ == 0 00 )()( t t ttx δ ∫ ∞− == t dtutx ττδ )()()(    > < == 01 00 )()( t t tutx
  • 10. Electrical Signal Energy & Power It is often useful to characterise signals by measures such as energy and power For example, the instantaneous power of a resistor is: and the total energy expanded over the interval [t1, t2] is: and the average energy is: )( 1 )()()( 2 tv R titvtp == ∫∫ = 2 1 2 1 )( 1 )( 2 t t t t dttv R dttp ∫∫ − = − 2 1 2 1 )( 11 )( 1 2 1212 t t t t dttv Rtt dttp tt
  • 11. Odd and Even SignalsAn even signal is identical to its time reversed signal, i.e. it can be reflected in the origin and is equal to the original: Examples: x(t) = cos(t) x(t) = c An odd signal is identical to its negated, time reversed signal, i.e. it is equal to the negative reflected signal Examples: x(t) = sin(t) x(t) = t This is important because any signal can be expressed as the sum of an odd signal and an even signal. )()( txtx =− )()( txtx −=−
  • 12. Time Shift Signal A central concept in signal analysis is the transformation of one signal into another signal. Of particular interest are simple transformations that involve a transformation of the time axis only. A linear time shift signal transformation is given by: where b represents a signal offset from 0, and the a parameter represents a signal stretching if |a|>1, compression if 0<|a|<1 and a reflection if a<0. )()( batxty +=
  • 13. Exponential and Sinusoidal Signals Exponential and sinusoidal signals are characteristic of real-world signals and also from a basis (a building block) for other signals. A generic complex exponential signal is of the form: where C and a are, in general, complex numbers. Lets investigate some special cases of this signal Real exponential signals at Cetx =)( 0 0 > > C a 0 0 > < C a Exponential growth Exponential decay
  • 14. Periodic Complex Exponential & Sinusoidal SignalsConsider when a is purely imaginary: By Euler’s relationship, this can be expressed as: This is a periodic signals because: when T=2π/ω0 A closely related signal is the sinusoidal signal: We can always use: tj Cetx 0 )( ω = tjte tj 00 sincos0 ωωω += tj Ttj etjt TtjTte 0 0 00 00 )( sincos )(sin)(cos ω ω ωω ωω =+= +++=+ ( )φω += ttx 0cos)( 00 2 fπω = ( ) ( ) ( ) ( ))( 0 )( 0 0 0 sin cos φω φω φω φω + + ℑ=+ ℜ=+ tj tj eAtA eAtA T0 = 2π/ω0 = π cos(1) T0 is the fundamental time period ω0 is the fundamental frequency
  • 15. Exponential & Sinusoidal Signal Periodic signals, in particular complex periodic and sinusoidal signals, have infinite total energy but finite average power. Consider energy over one period: Therefore: Average power: Useful to consider harmonic signals Terminology is consistent with its use in music, where each frequency is an integer multiple of a fundamental frequency 0 0 0 2 0 0 0 1 Tdt dteE T T tj period == = ∫ ∫ ω 1 1 0 == periodperiod E T P ∞=∞E
  • 16. General Complex Exponential Signals So far, considered the real and periodic complex exponential Now consider when C can be complex. Let us express C is polar form and a in rectangular form: So Using Euler’s relation These are damped sinusoids 0ω φ jra eCC j += = tjrttjrjat eeCeeCCe )()( 00 φωωφ ++ == ))sin(())cos(( 00 )( 0 teCjteCeeCCe rtrttjrjat φωφωωφ +++== +
  • 17. Generic Signal Energy and Power Total energy of a continuous signal x(t) over [t1, t2] is: where |.| denote the magnitude of the (complex) number. Similarly for a discrete time signal x[n] over [n1, n2]: By dividing the quantities by (t2-t1) and (n2-n1+1), respectively, gives the average power, P Note that these are similar to the electrical analogies (voltage), but they are different, both value and dimension. ∫= 2 1 2 )( t t dttxE ∑ = = 2 1 2 ][ n nn nxE
  • 18. Energy and Power over Infinite Time For many signals, we’re interested in examining the power and energy over an infinite time interval (-∞, ∞). These quantities are therefore defined by: If the sums or integrals do not converge, the energy of such a signal is infinite Two important (sub)classes of signals 1. Finite total energy (and therefore zero average power) 2. Finite average power (and therefore infinite total energy) Signal analysis over infinite time, all depends on the “tails” (limiting behaviour) ∫∫ ∞ ∞−− ∞→∞ == dttxdttxE T T T 22 )()(lim ∑∑ ∞ −∞=−=∞→∞ == n N NnN nxnxE 22 ][][lim ∫− ∞→∞ = T T T dttx T P 2 )( 2 1 lim ∑ −=∞→∞ + = N NnN nx N P 2 ][ 12 1 lim
  • 19. Introduction to Matlab Simulink is a package that runs inside the Matlab environment. Matlab (Matrix Laboratory) is a dynamic, interpreted, environment for matrix/vector analysis User can build programs (in .m files or at command line) C/Java-like syntax Ideal environment for programming and analysing discrete (indexed) signals and systems
  • 20. Basic Matlab Operations >> % This is a comment, it starts with a “%” >> y = 5*3 + 2^2; % simple arithmetic >> x = [1 2 4 5 6]; % create the vector “x” >> x1 = x.^2; % square each element in x >> E = sum(abs(x).^2); % Calculate signal energy >> P = E/length(x); % Calculate av signal power >> x2 = x(1:3); % Select first 3 elements in x >> z = 1+i; % Create a complex number >> a = real(z); % Pick off real part >> b = imag(z); % Pick off imaginary part >> plot(x); % Plot the vector as a signal >> t = 0:0.1:100; % Generate sampled time >> x3=exp(-t).*cos(t); % Generate a discrete signal >> plot(t, x3, ‘x’); % Plot points
  • 21. Example: Generate and View a Signal Copy “sine wave” source and “scope” sink onto a new Simulink work space and connect. Set sine wave parameters modify to 2 rad/sec Run the simulation: Simulation - Start Open the scope and leave open while you change parameters (sin or simulation parameters) and re-run
  • 22. Summary This presentation has looked at signals: Power and energy Signal transformations Time shift Periodic Even and odd signals Exponential and sinusoidal signals Unit impulse and step functions Matlab and Simulink are complementary environments for producing and analysing continuous and discrete signals. This will require some effort to learn the programming syntax and style!