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 中查找有关 Multirate Signal Processing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!