Generating an isolated rectangular pulse

16 visualizaciones (últimos 30 días)
..
.. el 21 de Mzo. de 2019
Respondida: Walter Roberson el 21 de Mzo. de 2019
How can I generate a pulse of amplitude 1 but only between certain points, like 25 to 75?
T=.2
t=25:75
x=rectpuls(t,T)
plot(t,x)
axis([0 100 0 1.2])

Respuestas (1)

Walter Roberson
Walter Roberson el 21 de Mzo. de 2019
t = 25:75;
x(t) = T;

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by