To generate following sequence

조회 수: 1 (최근 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 CenterFile Exchange에서 Stem Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by