Sawtooth Waveform With Variable Frequency and constant amplitude
Afficher commentaires plus anciens
How can I create a sawtooth wave with external inputs such as constant amplitude (2*Pi) and variable frequency in simulink?
Réponses (1)
ABHILASH SINGH
le 21 Oct 2019
0 votes
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 commentaire
Ranjit Kumar Chennamchetty
le 21 Oct 2019
Modifié(e) : Ranjit Kumar Chennamchetty
le 23 Oct 2019
Catégories
En savoir plus sur Simulink dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!