sawtooth plot with specific x ,y limits

9 Ansichten (letzte 30 Tage)
Oday Shahadh
Oday Shahadh am 3 Nov. 2018
Kommentiert: madhan ravi am 3 Nov. 2018
Hi every one, How can I plot as saw tooth plot with exact x, y limits as attached image?
Thanks in advance

Akzeptierte Antwort

madhan ravi
madhan ravi am 3 Nov. 2018
Bearbeitet: madhan ravi am 3 Nov. 2018
T = 10*(1/50);
Fs = 1000;
dt = 1/Fs;
t = 0:dt:T-dt;
x = sawtooth(2*pi*50*t);
plot(t,x)
xlim([0 0.2])
ylim([-1 1])
grid on
  7 Kommentare
Oday Shahadh
Oday Shahadh am 3 Nov. 2018
done, so thanks
madhan ravi
madhan ravi am 3 Nov. 2018
glad that you found

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

Oday Shahadh
Oday Shahadh am 3 Nov. 2018

Kategorien

Mehr zu Simulink 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!

Translated by