How to find output of system with impulse response function
조회 수: 22 (최근 30일)
이전 댓글 표시
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?
댓글 수: 0
채택된 답변
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
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Calculus에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!