How to find output of system with impulse response function

28 vues (au cours des 30 derniers jours)
Mandeep Kaur
Mandeep Kaur le 9 Fév 2022
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?

Réponse acceptée

Bhavana Ravirala
Bhavana Ravirala le 14 Fév 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.

Plus de réponses (0)

Produits


Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by