To generate following sequence

2 visualizaciones (últimos 30 días)
Anmol Chauhan
Anmol Chauhan el 20 de Oct. de 2019
Comentada: Anmol Chauhan el 22 de Oct. de 2019
To generate using stem function -
y(n) = 5 * e^cos(pi*n/3) * u(n-3)
  2 comentarios
Image Analyst
Image Analyst el 20 de Oct. de 2019
What function is u?
Anmol Chauhan
Anmol Chauhan el 22 de Oct. de 2019
unit step function

Iniciar sesión para comentar.

Respuestas (1)

Thiago Henrique Gomes Lobato
Thiago Henrique Gomes Lobato el 20 de Oct. de 2019
You can plot it actually pretty easily, just make sure to use your own u vector below :
n = 4:100;
u = ones(1,97);
y = 5 .* exp(cos(pi*n/3)) .* u(n-3);
stem(n,y)
Untitled.png

Categorías

Más información sobre Stem Plots en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by