How to plot signal with unit step?
Ältere Kommentare anzeigen
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
Akzeptierte Antwort
Weitere Antworten (2)
Kamalika Saha
am 5 Jan. 2022
0 Stimmen
n = -5:1:20;
x = ((4/5).^n).*heaviside(n);
stem(n,x)
Divine
am 3 Nov. 2023
0 Stimmen
n = -5:1:20;
x = ((4/5).^n).*heaviside(n);
stem(n,x)
Kategorien
Mehr zu Descriptive Statistics finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!