sawtooth plot with specific x ,y limits
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Oday Shahadh
el 3 de Nov. de 2018
Comentada: madhan ravi
el 3 de Nov. de 2018
Hi every one, How can I plot as saw tooth plot with exact x, y limits as attached image?
Thanks in advance
0 comentarios
Respuesta aceptada
madhan ravi
el 3 de Nov. de 2018
Editada: madhan ravi
el 3 de Nov. de 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 comentarios
Más respuestas (1)
Ver también
Categorías
Más información sobre 2-D and 3-D Plots en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!