To generate following sequence

2 ビュー (過去 30 日間)
Anmol Chauhan
Anmol Chauhan 2019 年 10 月 20 日
コメント済み: Anmol Chauhan 2019 年 10 月 22 日
To generate using stem function -
y(n) = 5 * e^cos(pi*n/3) * u(n-3)
  2 件のコメント
Image Analyst
Image Analyst 2019 年 10 月 20 日
What function is u?
Anmol Chauhan
Anmol Chauhan 2019 年 10 月 22 日
unit step function

サインインしてコメントする。

回答 (1 件)

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

カテゴリ

Help Center および File ExchangeStem Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by