Join The Community

Premium WordPress Themes

Wednesday

Digital Signal Processing Lab Experiment

1) To synthesize the sequence x(n)=1,,1,2,2,3,3,2,1 for -2<=n<=5

Solution:
n=[-2:5];
x=[1,1,2,2,3,3,2,1];
plot(n,x,'o')
stem(n,x)

Write this on your MATLAB software and then you will see the graph.


2) To synthasize the expoonential impulse response x(n)=(0.9)^n for index values n=0,1,2, ..........,50

Solution:
n=[0:50];
x=(0.9).^n;
plot(n,x,'o')
grid

Write this on your MATLAB software and then you will see the graph.

0 comments:

Post a Comment