To generate following sequence
1 回表示 (過去 30 日間)
古いコメントを表示
To generate using stem function -
y(n) = 5 * e^cos(pi*n/3) * u(n-3)
2 件のコメント
回答 (1 件)
Thiago Henrique Gomes Lobato
2019 年 10 月 20 日
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 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!