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!