None linear least square fit for complex model

1 回表示 (過去 30 日間)
Sattar Isawi
Sattar Isawi 2019 年 3 月 17 日
コメント済み: Stephan 2019 年 3 月 17 日
Hi,
I am trying to fit my data in log-log space. my model is 10 log (P(f))=10 log (P_0) + 10 log [1+(f/F_0)^k]- 10k log (f). the predector is the frequency (f), and the response is the estimated spectral density P(f). unknown coeficients are P_0, F_0 and K.
I have tried different matlab functions, but unfortunately there is no one able to fit my model. Please any help.?
Thank you in advance
Sat

回答 (1 件)

Stephan
Stephan 2019 年 3 月 17 日
Hi,
have a read here:
There is an example how to fit a custom equation. This should solve your problem. If you do not have Curve Fitting Toolbox, you can do it very similar with lsqcurvefit from the Optimization Toolbox.
Best regards
Stephan
  2 件のコメント
Sattar Isawi
Sattar Isawi 2019 年 3 月 17 日
Hi Stephan,
Thanks for your help, actually I tried this function, but unfortunatelly it doesnt solve my problem. Thanks again
Stephan
Stephan 2019 年 3 月 17 日
Maybe if you provide what you have tried so far and attach your data, someone can help.

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

カテゴリ

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

製品


リリース

R2015a

Community Treasure Hunt

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

Start Hunting!

Translated by