how to create discrete heaviside
显示 更早的评论
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.
回答(1 个)
Rick Rosson
2011-11-24
N = 200;
k = 1:N;
p = 15;
x = (k > p);
figure;
stairs(k,x);
类别
在 帮助中心 和 File Exchange 中查找有关 z-transforms 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!