plotting sin wave signal
9 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Jimmy W
am 10 Apr. 2017
Kommentiert: Jimmy W
am 10 Apr. 2017
Hi, I have the following signal, f(t) = sin(t), -(pi/2)<= t <= (pi/2), what is the code to plot it for three whole periods? Thank you for the help!
1 Kommentar
Akzeptierte Antwort
Walter Roberson
am 10 Apr. 2017
You defined -(pi/2)<= t <= (pi/2) . Your function does not have a definition outside of that one period, so it is not meaningful to plot it for multiple periods.
You could extend your definition:
x = linspace(-pi/2 , 5*pi/2);
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Annotations finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!