フィルターのクリア

how to create discrete heaviside

6 ビュー (過去 30 日間)
Igor
Igor 2011 年 11 月 24 日
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
Rick Rosson 2011 年 11 月 24 日
N = 200;
k = 1:N;
p = 15;
x = (k > p);
figure;
stairs(k,x);

カテゴリ

Help Center および File ExchangeData Import and Network Parameters についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by