How to find output of system with impulse response function

20 views (last 30 days)
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?

Accepted Answer

Bhavana Ravirala
Bhavana Ravirala on 14 Feb 2022
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.

More Answers (0)

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by