Azzera filtri
Azzera filtri

sawtooth plot with specific x ,y limits

4 visualizzazioni (ultimi 30 giorni)
Hi every one, How can I plot as saw tooth plot with exact x, y limits as attached image?
Thanks in advance

Risposta accettata

madhan ravi
madhan ravi il 3 Nov 2018
Modificato: madhan ravi il 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 Commenti
madhan ravi
madhan ravi il 3 Nov 2018
glad that you found

Accedi per commentare.

Più risposte (1)

Oday Shahadh
Oday Shahadh il 3 Nov 2018

Categorie

Scopri di più su 2-D and 3-D Plots in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by