How to find output of system with impulse response function

조회 수: 19 (최근 30일)
Mandeep Kaur
Mandeep Kaur 2022년 2월 9일
답변: Bhavana Ravirala 2022년 2월 14일
How i can find the output of system with impulse response function h(t) = sin(t) u(t) for input f(t) = exp(-t)u(t) in MATLAB?

채택된 답변

Bhavana Ravirala
Bhavana Ravirala 2022년 2월 14일
Hi Mandeep,
From my understanding you are trying to find output of the system which can be obtained by convolution of input and impulse response. The convolution can be obtained by product of Laplace transform of both the signals.
syms t; % t is a variable
impulseResponce=exp(-t);
input=sin(t);
k=laplace(impulseResponse)*laplace(input); % product of laplace transforms
output=ilaplace(k); % inverse laplace transform
For more information refer to the documentations below:
Hope this helps.

추가 답변 (0개)

카테고리

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

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by