Effacer les filtres
Effacer les filtres

how to create discrete heaviside

6 vues (au cours des 30 derniers jours)
Igor
Igor le 24 Nov 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.

Réponses (1)

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

Catégories

En savoir plus sur Data Import and Network Parameters dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by