sawtooth plot with specific x ,y limits

1 次查看(过去 30 天)
Hi every one, How can I plot as saw tooth plot with exact x, y limits as attached image?
Thanks in advance

采纳的回答

madhan ravi
madhan ravi 2018-11-3
编辑:madhan ravi 2018-11-3
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 个评论

请先登录,再进行评论。

更多回答(1 个)

Oday Shahadh
Oday Shahadh 2018-11-3

类别

Help CenterFile Exchange 中查找有关 2-D and 3-D Plots 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by