how to plot triangular waveform?
古いコメントを表示
can anyone help me to plot following triangular waveform?
回答 (3 件)
Vinay
2023 年 11 月 28 日
1 投票
T = 10*(1/50);
fs = 1000;
t = 0:1/fs:T-1/fs;
x = sawtooth(2*pi*50*t);
plot(t,x)
grid on
Star Strider
2020 年 5 月 6 日
0 投票
カテゴリ
ヘルプ センター および File Exchange で Waveform Generation についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
