Sawtooth Waveform With Variable Frequency and constant amplitude
3 ビュー (過去 30 日間)
古いコメントを表示
How can I create a sawtooth wave with external inputs such as constant amplitude (2*Pi) and variable frequency in simulink?
0 件のコメント
回答 (1 件)
ABHILASH SINGH
2019 年 10 月 21 日
T = 10*(1/50);
fs = 1000;
t = 0:1/fs:T-1/fs;
a=2*pi;
x = a*sawtooth(2*pi*50*t,1/2);
plot(t,x)
1 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!