can i convert a time domain to frequency domain?

2 views (last 30 days)
Hi all, I have a dynamic system with one input and four state variables, ss was used to convert the dynamic system to a state space system and Lsim was used to simulate time response of dynamic system to the input. because i used Lsim, I get the response in a time domain as shown in the figure (where acc. is one state variable) , my question is: can I convert the time domain to a frequency domain. I tried to figure out iddata but i am confuse about how i can fit iddata to my problem. Thanks in advance

Accepted Answer

Star Strider
Star Strider on 28 Feb 2017
To display the frequency domain response, use the Control System Toolbox bode function.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!