how to plot triangular waveform?
조회 수: 8 (최근 30일)
이전 댓글 표시
can anyone help me to plot following triangular waveform?
댓글 수: 0
답변 (3개)
Vinay
2023년 11월 28일
T = 10*(1/50);
fs = 1000;
t = 0:1/fs:T-1/fs;
x = sawtooth(2*pi*50*t);
plot(t,x)
grid on
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
