How to plot signal with unit step?
Mostrar comentarios más antiguos
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
Respuesta aceptada
Más respuestas (2)
Kamalika Saha
el 5 de En. de 2022
0 votos
n = -5:1:20;
x = ((4/5).^n).*heaviside(n);
stem(n,x)
Divine
el 3 de Nov. de 2023
0 votos
n = -5:1:20;
x = ((4/5).^n).*heaviside(n);
stem(n,x)
Categorías
Más información sobre Descriptive Statistics en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!