how can I fit a curve in bode digram?
31 views (last 30 days)
Show older comments
Hello,
I want to fit a curve using lsqcurvefit from a bode diagram of a transfer function. I do not have x data and y-data but only the transfer function. how can I find x-data and find y-data from a bode diagram?
or is there any other ways to find a fir curve from a transfer function?
0 Comments
Answers (2)
Shashank Prasanna
on 4 Jul 2013
if you have the transfer function then all you need to do to get the curve is call the bode function:
How do you have the bode figure? is it a matlab figure? If so then you can extract the values from the figure.
What are you trying to fit to the curve?
1 Comment
Shashank Prasanna
on 4 Jul 2013
I think there are better ways to do what you are tying to do. A commonly used method is balanced order reduction where you can specify the lowest order you want to represent your system:
Is you have Simulink Design Optimization toolbox then there are graphical ways to do what you are tying to do:
navin haghighizadeh
on 4 Jul 2013
1 Comment
Shashank Prasanna
on 4 Jul 2013
Please see my comment above. If you'd like to respond to my answer or comment, please do so right below it instead of creating a new answer. This will make the answer hard to track for others who have the same question as yours.
See Also
Categories
Find more on Get Started with Curve Fitting Toolbox 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!