To generate following sequence
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
To generate using stem function -
y(n) = 5 * e^cos(pi*n/3) * u(n-3)
2 commentaires
Réponses (1)
Thiago Henrique Gomes Lobato
le 20 Oct 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](https://www.mathworks.com/matlabcentral/answers/uploaded_files/243660/Untitled.png)
0 commentaires
Voir également
Catégories
En savoir plus sur Elementary Math dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!