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!