System impulse response and Convolution by matlab

조회 수: 15 (최근 30일)
gedaa
gedaa 2011년 2월 20일
답변: Arpan Patel 2021년 2월 25일
Hi everyone, i am very new to matlab, and would like to konw how to obtain y(t) from below
Generate a unit step function as the input function, x(t), and an exponentially decay function as the impulse response function, h(t), such as h(t)=exp(-t/2) (note: 2 is the time constant of the system dynamic response). Using MATLAB to calculate the output of the system, y(t).
Thank you so much in advance
  댓글 수: 2
Seikh Rana
Seikh Rana 2018년 4월 22일
Convolution (random position zero) in matlab plz help me
Seikh Rana
Seikh Rana 2018년 4월 22일

</matlabcentral/answers/uploaded_files/114156/convooooo.JPG> this picture problem solved in matlab plz help me

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

답변 (3개)

psyx21
psyx21 2011년 4월 29일
hey friends what will be the peak acceleration response for 100g 6ms half sine pulse with zeta=0. I need a matlab script with natural frequency on x axis..thanks

Paulo Silva
Paulo Silva 2011년 2월 20일
t=0:0.1:10;
u=0*t;
u(t>=0)=1;
h=exp(-t/2);
y=u.*h;
plot(t,y)
  댓글 수: 8
Paulo Silva
Paulo Silva 2011년 2월 21일
I'm not sure about the amplitude at
plot(t,T*y(1:numel(t)))
with the step function is good compared to
step(tf([1],[1 1/2])) but with the impulse it's plot(t,y(1:numel(t))) without the T, I can't figure out why that happens.
gedaa
gedaa 2011년 2월 23일
hey, paulo, i actually checked with my professor and he said that T doesn't need to be multiplied in the last line. Thank you soo much

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


Arpan Patel
Arpan Patel 2021년 2월 25일
t=0:0.1:10;
u=0*t;
u(t>=0)=1;
h=exp(-t/2);
y=u.*h;
plot(t,y)

카테고리

Help CenterFile Exchange에서 Programming에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by