フィルターのクリア

Curve fitting real functions

2 ビュー (過去 30 日間)
wallflower
wallflower 2020 年 12 月 10 日
コメント済み: wallflower 2021 年 1 月 4 日
When doing my research to see how are real functions fitted in MATLAB, no answer has been found. Only the fitting of complex functions is proposed. Why is that?
Thanks in advance :^)
  8 件のコメント
riccardo
riccardo 2020 年 12 月 10 日
The curve fitting tool seems to have the rational function as an option.
Alternatively, you could always revert to using "fzero" or "fminsearch", by converting your problem to minimising the residuals of:
<YourFunctionR>(f) * <denominator polynomial> - <numerator polynomial> = 0
wallflower
wallflower 2021 年 1 月 4 日
Thank you riccardo :D

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

採用された回答

Steven Lord
Steven Lord 2020 年 12 月 10 日
There is a collection of library models that can be used with functionality in Curve Fitting Toolbox. One type of model included in that collection is 'rational', which contains polynomials of degree up to 5 for both the numerator and denominator. If that's not sufficient, you can also create your own custom model.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMATLAB についてさらに検索

製品


リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by