Sawtooth Waveform With Variable Frequency and constant amplitude
显示 更早的评论
How can I create a sawtooth wave with external inputs such as constant amplitude (2*Pi) and variable frequency in simulink?
回答(1 个)
ABHILASH SINGH
2019-10-21
0 个投票
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 个评论
Ranjit Kumar Chennamchetty
2019-10-21
编辑:Ranjit Kumar Chennamchetty
2019-10-23
类别
在 帮助中心 和 File Exchange 中查找有关 Waveform Generation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!