You are on page 1of 1

a clear all close all clc n=-5:5; x=stepfun(n,0)-stepfun(n,1); stem(n,x) b clear all close all clc n=-5:5; x=stepfun(n,0)-stepfun(n,4);

stem(n,x) c clear all close all clc n=-5:5; x=exp(-n).*stepfun(n,1); stem(n,x) d clear all close all clc n=-5:5; x=sin(n*pi/2); stem(n,x)

You might also like