Signals Laboratory Expertiment 2
c)
%STAIR plot
T = 0:0.25:25
B = 2*sin(T)
stairs(T,B)
d)
%Unit function
n = -3:1:3
y = ones(1,7)
stem(n,y)
e)
n = -3:1:3
x1 = abs(n)
n1 = n - 2
subplot(3,1,1), stem(n,x1)
ylabel('amplitude')
xlabel('n')
subplot(3,1,2), stem(n1,x1)
ylabel('amplitude')
xlabel('n')
subplot(3,1,3), stem(-n1,x1)
ylabel('amplitude')
xlabel('n')
please leave some comments.. thanks!
5:41 PM | Labels: uncategorized |
This entry was posted on 5:41 PM and is filed under uncategorized . You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
Subscribe to:
Post Comments (Atom)
1 comments:
*OP Mode*
Post a Comment