how can I fit a curve in bode digram?

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?

回答 (2 件)

Shashank Prasanna
Shashank Prasanna 2013 年 7 月 4 日

0 投票

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 件のコメント

Shashank Prasanna
Shashank Prasanna 2013 年 7 月 4 日
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
navin haghighizadeh 2013 年 7 月 4 日

0 投票

I am trying to fit the curve with reduced kind transfer function. the original transfer function has 10 poles and 10 zeros. I found the x-data and y-data but I cannot use lsqcurvefit.

1 件のコメント

Shashank Prasanna
Shashank Prasanna 2013 年 7 月 4 日
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.

サインインしてコメントする。

質問済み:

2013 年 7 月 3 日

Community Treasure Hunt

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

Start Hunting!

Translated by