how to plot triangular waveform?

9 visualizaciones (últimos 30 días)
Musab Labeeb
Musab Labeeb el 6 de Mayo de 2020
Respondida: Vinay el 28 de Nov. de 2023
can anyone help me to plot following triangular waveform?

Respuestas (3)

Vinay
Vinay el 28 de Nov. de 2023
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
Vinay el 28 de Nov. de 2023

Star Strider
Star Strider el 6 de Mayo de 2020
See the documentation for the pulstran function.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by