
Valmiki R. answered 03/28/17
Tutor
4.9
(44)
Hakuna Matata
Hey Joe, in the case that you didn't already figure this out, here's my solution to your problem as I understand it:
t1 = [0:0.75:10];
t2 = [0:0.5:10];
t3 = [0:0.125:10];
t4 = [0:1/30:10];
V1 = 5*cos(2*pi*t1);
V2 = 5*cos(2*pi*t2);
V3 = 5*cos(2*pi*t3);
V4 = 5*cos(2*pi*t4);
stairs(V1);
figure;stairs(V2);
figure;stairs(V3);
figure;stairs(V4);