W_Heisenberg
Full Member level 4
Hi, I need to make a unit step function , a triangle function, a rectangle function. And plot these by stem.
How can I do that in MatLab?
anyone helps?
How can I do that in MatLab?
anyone helps?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
i= -10: 1:10;
s= (i>= 0);
m= 3; % aim
i= 0: 1: 10;
t1= 3*i;
t2= -3*i;
t=[t1, t2];
r= 0;
for i=1: 1: 10
r= [r s];
end