Borrar filtros
Borrar filtros

how to create discrete heaviside

6 visualizaciones (últimos 30 días)
Igor
Igor el 24 de Nov. de 2011
Hi every one. I need to create a discrete pulse and then find&plot its z-transformation.Usual heaviside is not working propely( x[0]=1/2 ) and i dont really see another way then heaviside. any tip would help... thx.

Respuestas (1)

Rick Rosson
Rick Rosson el 24 de Nov. de 2011
N = 200;
k = 1:N;
p = 15;
x = (k > p);
figure;
stairs(k,x);

Categorías

Más información sobre Data Import and Network Parameters en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by