Join The Community

Premium WordPress Themes

Wednesday

Exp. no. 1 (DSP)

1)Name of exp.: Sinusoidal wave expression.
2)Theory: (N.B.: What is sine & cosine wave).
3)Program:
t=0:0.25:8*pi;
subplot(4,1,1);
plot(t,sin(t));
subplot(4,1,2)
plot(t,cos(t));
subplot(4,1,3)
x=sin(t)+.75*sin(3*t)+.5*sin(5*t)+.25*sin(7*t)+.125*sin(9*t);
plot(t,x);
subplot(4,1,4);
plot(t,x);
hold on;
plot(t,cos(t));
4)output:
5)Discussion:

0 comments:

Post a Comment