Plotting Impulse response of a system and I am stuck

조회 수: 1(최근 30일)
cikalekli
cikalekli 2022년 1월 2일
댓글: David Hill 2022년 1월 2일
Hi, while I am practising about plotting impulse signal here and I'm stuck:
and I wanted to plot this signal:
I have the following array:

채택된 답변

Walter Roberson
Walter Roberson 2022년 1월 2일
sympref('HeaviSideAtOrigin', 1);
u = @heaviside
u = function_handle with value:
@heaviside
syms t
h(t) = exp(-2*t) .* u(t-1);
fplot(h, [-5 5])
  댓글 수: 5
David Hill
David Hill 2022년 1월 2일
It was clearly in the link, heaviside(0) is default 1/2. Inorder to change this to 1, the code above is used.

댓글을 달려면 로그인하십시오.

추가 답변(0개)

Community Treasure Hunt

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

Start Hunting!

Translated by