Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- clc
- close all
- clear all
- n=-5:1:5;
- y=[ones(1,5),zeros(1,1),ones(1,5)];
- subplot(1,3,1)
- stem(n,y)
- hold on
- xlabel('lal')
- ylabel('hra')
- title('dharmendra dixit')
- x=-5:1:5;
- t=[zeros(1,5),ones(1,1),zeros(1,5)];
- subplot(1,3,2)
- stem(x,t)
- hold on
- z=-5:1:5;
- r=[zeros(1,5),1,ones(1,5)];
- subplot(1,3,3)
- stem(z,r)
Add Comment
Please, Sign In to add comment