Escolar Documentos
Profissional Documentos
Cultura Documentos
:- 1
Aim:- To represent the basic signals Unit step, unit impulse, ramp.
t = (-1:0.01:1)';
impulse = t==0;
unitstep = t>=0;
ramp = t.*unitstep;
All of these sequences are column vectors that inherit their shapes from t. Plot the
sequences.
Generate and plot a square wave with period 0.5 and amplitude 0.81.
sqwave = 0.81*square(4*pi*t);
plot(t,sqwave)
EXPERIMENT No:- 2