how to plot triangular waveform?
Afficher commentaires plus anciens
can anyone help me to plot following triangular waveform?
Réponses (3)
Vinay
le 28 Nov 2023
1 vote
T = 10*(1/50);
fs = 1000;
t = 0:1/fs:T-1/fs;
x = sawtooth(2*pi*50*t);
plot(t,x)
grid on
Vinay
le 28 Nov 2023
1 vote

Star Strider
le 6 Mai 2020
0 votes
Catégories
En savoir plus sur Waveform Generation 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!