How to plot output y(t) of LTI system, where impulse response h(t) and input x(t) are given?
14 views (last 30 days)
Show older comments
I would like to determine and plot a LTI system's output [ y(t) ] .
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/777023/image.png)
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.
3 Comments
Answers (1)
Yongjian Feng
on 24 Oct 2021
Do you mean:
- create a list of t
- compute y for the list of t above
- plot(t, y)
2 Comments
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.
See Also
Categories
Find more on 2-D and 3-D Plots 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!