sawtooth plot with specific x ,y limits

조회 수: 3 (최근 30일)
Oday Shahadh
Oday Shahadh 2018년 11월 3일
댓글: madhan ravi 2018년 11월 3일
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
Oday Shahadh
Oday Shahadh 2018년 11월 3일
done, so thanks
madhan ravi
madhan ravi 2018년 11월 3일
glad that you found

댓글을 달려면 로그인하십시오.

추가 답변 (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