Curve fitting a complex function
古いコメントを表示
I am trying to fit this function on my experimental data and receive the values of G and f. My data ought to look like this.
DR=exp(1i*f)/(E-Eg-1i*G)
Where Eg=1.18, DR and E are my measurements as arrays. f is the phase, E, Eg and G are all measured in eVs.
I am trying to utilize the LSQNONLIN function.
My question is: How do I have to define the function that needs to be inserted in LSQNONLIN in order to make it work?
2 件のコメント
Matt J
2014 年 9 月 19 日
The way you are invoking lsqcurvefit does not resemble any syntax in the documentation...
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Get Started with Curve Fitting Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!