Azzera filtri
Azzera filtri

To generate following sequence

2 visualizzazioni (ultimi 30 giorni)
Anmol Chauhan
Anmol Chauhan il 20 Ott 2019
Commentato: Anmol Chauhan il 22 Ott 2019
To generate using stem function -
y(n) = 5 * e^cos(pi*n/3) * u(n-3)
  2 Commenti
Image Analyst
Image Analyst il 20 Ott 2019
What function is u?
Anmol Chauhan
Anmol Chauhan il 22 Ott 2019
unit step function

Accedi per commentare.

Risposte (1)

Thiago Henrique Gomes Lobato
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

Community Treasure Hunt

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

Start Hunting!

Translated by