how do you plot signal like cos wt and 1/4 cycle time delayed version of signal on same axis
Show older comments
x=0:0.01:2*pi y=cos(x) plot(x,y)
need a additional 1/4 cycle time delayed signal on the same axis as x
Answers (1)
Mischa Kim
on 27 Mar 2015
Amit, how about
x = 0:0.01:2*pi;
y = cos(x);
yd = cos(x + pi/2);
plot(x,y,x,yd)
1 Comment
Amit Aryal
on 27 Mar 2015
Categories
Find more on Descriptive Statistics in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!