Professional Documents
Culture Documents
Classification of signals
ex00basicsignalclassification.m
continuous time and discrete time signal - based on the nature of signal along the time axis .
- signal is defined for a range in time or instants of time
Eg: telephone signal
vs. monthly sales of company
o Some properties:
Even function odd function = odd function
Odd function odd function = Even function
Even function Even function = Even function
Area
() = 2 0 () and
0 () =0
Given any arbitrary signal x(t), odd and even parts can be found as
1
MATLAB code:
ex01signalevenodd.m
Signal energy:
human size
Ex = 2 ()
OR
Ex = |()|2
o Signal size is the area under square of the signal x(t), i.e. x2(t)
o Signal energy should be finite and non zero for it to be a
meaningful measure of signal size
o Necessary condition is that amplitude of signal x(t) ----> 0
as
|| --->
Examples ???
x(t) = 2
: -1 t 0
2 e-t/2 :
t0
8.0018 units
Signal power:
o If the amplitude of the signal x(t) is not ----> 0 as || ---> , signal
energy is infinite.
o A more meaningful measure of signal size in such a case would be
Time average of the energy
1
2(
o Px = lim )
OR Px = lim | ()|2
Matlabcode :
ex01signalenergypower.m
Px =
1 2
2
2 2
2
OR
Px =
=1
1
2
signal operation:
Amplitude operation : 2 x(t) OR 2 + x(t) e.t.c.
Time operation
o Time shifting :
delay
-----> right shift
Advance ------> left shift
o Time scaling :
Compression -----> fast up ,
what happens to x(t) at some instant t also happens to
(t) = x(at) at the instant t/a , where a > 0
o Time reversal :
What happens to x(t) at some instant t also happens to (t) = x(-t)
at the instant t.
o Arbitrary operation :
x(-2t-3)
= x(-2(t-[3/2]))
---------------------
Arrange the each operations in multiplication form and then the
sequence of operations are
Reversal
Compress by 2
Advance by 3/2
MATLAB code:
ex01signal1operation.m
- CONTINUOUS TIME
0
<0
delayed
1
u(t-) = {
0
<
OR
u(t-1) *u(2-t)
Example :
MATLAB code:
ex00basicsignalmodels1.m
It is defined as
= x(0)
since () = 1
Impulse function can be defined in terms of its effect on a test
function x(t).
It is not a true function in ordinary sense
Its range is undefined
In the generalised sense ( considering the unit step function),
et
=e
( +j)t
i.e.
2. = i.e. with = 0
A constant K = K e0t
A monotonic exponential e t
3. = j i.e. with = 0
A Sinusoid cos t
4. = +j
Matlab :
ex00basicsignalmodels2.m
|| >
2
0
1
|| =
2
{1
|| <
2
(x) = {
||
2
1
1 2|| || < 2
Signum function:
1
sgn (t) = {
1
> 0
< 0
Systems
Systems are used to process signals
They represents the input output (signal) relationship
Systems are governed by the laws of interconnection.
Classification of systems
Linear and Nonlinear systems
o Superposition and Homogeneity property holds good
Eg: y = 5 x OR y = 5 x2
Time invariant and time varying systems
o Systems whose parameters do not change with time
o i.e physical phenomenon (parameters) will not change over
time.
Example:
y(t) = 10 x(2t) is a Non causal system
Put t = -2 y(-2) = 10 x(-4) ----- input before the o/p
Put t = 0
y(0) = 10 x(0) ----- o/p at same instant as i/p
Put t = 2 y(2) = 10 x(4) ----- o/p before the input
which gives Non-causal property
+ . . +1
+ () =
1
()
OR
+ 1
1 ()
1
+ . . +1
()
+ ()
Where, P(D) and Q(D) are respective operator polynomials for input
and output.
Transfer function model
()
=
()
( ) =
() ()
=
() ()
x State variables
u Input signal ;
inline objects.
Ex: Consider a continuous time function: f(t) = e -tcos(2t) can be
expressed as,
>>f= inline('exp(-t).*cos(2*pi*t)','t')
Once defined, f(t) can be evaluated simply by passing the input values
of interest.
Ex:
>> t= 0;
>> f(t)
ans = 1
function.
>> p=inline('(t>=0)&(t<1)','t')
duration 1 sec
>> f=inline('exp(-t).*cos(2*pi*t).*(t>=-2)&(t<1)','t')
signal operation
Amplitude operation
Time operation
o Time shifting
o Time scaling
o Time reversal
Ex:
>>plot(t,p(-t))
reversing
>>plot(t,p(t-5))
(delay) by 5 sec.
>>plot(t,p(2t)
MATLAB code:
ex01signalenergypower.m