How to plot output y(t) of LTI system, where impulse response h(t) and input x(t) are given?
Show older comments
I would like to determine and plot a LTI system's output [ y(t) ] .

I know that y(t) can be determined by convolving input and impulse response, or y(t) = x(t) * h(t), but I can't figure out how to plot output correctly.
Answers (1)
Yongjian Feng
on 24 Oct 2021
0 votes
Do you mean:
- create a list of t
- compute y for the list of t above
- plot(t, y)
2 Comments
Szalka Gergo
on 24 Oct 2021
Edited: Szalka Gergo
on 24 Oct 2021
Yongjian Feng
on 25 Oct 2021
Well one way to verify is to pick several points of t, compute x(t), h(t) and y(t) by hand (or say use a calculator). Then verify y(t) on the figure is correct.
Categories
Find more on Time and Frequency Domain Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!