How to plot signal with unit step?
古いコメントを表示
I want to plot the following signal in matlab but I am not sure how to do this with the unit step response involved.
x[n] = ((4/5)^n)u[n]
-5 < n < 20
採用された回答
その他の回答 (2 件)
Kamalika Saha
2022 年 1 月 5 日
0 投票
n = -5:1:20;
x = ((4/5).^n).*heaviside(n);
stem(n,x)
Divine
2023 年 11 月 3 日
0 投票
n = -5:1:20;
x = ((4/5).^n).*heaviside(n);
stem(n,x)
カテゴリ
ヘルプ センター および File Exchange で Descriptive Statistics についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!