lorentzian fit

バージョン 1.0.0.0 (2.08 KB) 作成者: Yohanan Sivan
In the attached file example i use "nlinfit", which can fit any kind of function that you want. the
ダウンロード: 6.6K
更新 2007/1/15

ライセンスの表示

On the gaussian fit i used "polyfit" which gives you en absolut one solution, but have some problems fitting non-linear model.

In the attached file example i use "nlinfit", which can fit any kind of function that you want. the problem is that you need to give here a starting point.

"main.m" include the example code to use nlinfit.

"data.txt" is data (x,y) that needed to be fitted.

"fun.m" is the function to be fitted, in you case it's lorentzian.

引用

Yohanan Sivan (2024). lorentzian fit (https://www.mathworks.com/matlabcentral/fileexchange/13648-lorentzian-fit), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R14
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersLinear Algebra についてさらに検索

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0.0