how do you plot signal like cos wt and 1/4 cycle time delayed version of signal on same axis

Antworten (1)

Amit, how about
x = 0:0.01:2*pi;
y = cos(x);
yd = cos(x + pi/2);
plot(x,y,x,yd)

1 Kommentar

Thank you for the above answer. Is there a alternative to this using a time delay function in matlab?

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Line Plots finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 27 Mär. 2015

Kommentiert:

am 27 Mär. 2015

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by