I am trying to curve fit a complex function.

1 回表示 (過去 30 日間)
Supreeth D K
Supreeth D K 2022 年 10 月 31 日
コメント済み: Supreeth D K 2022 年 10 月 31 日
I am have been trying to curve fit a complex function. I dnt know whether code I have used is proper or not.
I have attached the codes below.
  2 件のコメント
Alex Sha
Alex Sha 2022 年 10 月 31 日
If your full function is like:
F=(K1/(1+(w/sigma)^2))*0.001+((1j*c1*sigma)/(1+(sigma/w)^2))*0.001;
where F is complex data type
and also the parameters of K1 and c1 are all complex type, then the result will be:
Sum Squared Error (SSE): 330.333035512392
Root of Mean Square Error (RMSE): 3.70996987584576
Correlation Coef. (R): 0.9939271671453
R-Square: 0.987891213589481
Parameter Best Estimate
--------- -------------
k1.realpart 36022.5432052983
k1.imagpart 173011.277144565
c1.realpart 3.85052366252263
c1.imagpart -31.9279234134069
Supreeth D K
Supreeth D K 2022 年 10 月 31 日
How did you solve this?

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeLinear and Nonlinear Regression についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by