Numeric least squares fit

1 回表示 (過去 30 日間)
Sergio Quesada
Sergio Quesada 2018 年 10 月 2 日
編集済み: Sergio Quesada 2018 年 10 月 2 日
Good evening to everybody,
I need some help in this fitting...
I have a collection of experimental data (texp, Iexp). Using these data, I generate a new collection of data, (texp, rteor), by solving a system of one equation per each couple of data, using fsolve with arrayfun:
rteor= fsolve(@(r) arrayfun(@(R,T) FC.*integral(@(x) exp(-1./(30.*x.*log(x))), 1, R)-(T-t),r,texp), inpts);
(inpts=initial points; ). Then, I generate a new matrix of points, (texp, Iteor), evaluating the previous rteor data on a new function Iteor:
Iteor=rteor.*exp(a./(rteor(t).*log(rteor))) + (Io./(rteor(t).^4));
Well, now I want to fit this (Iteor, tteor) collection to (Iexp, texp) experimental collection by optimizing only the parameter "t" in the first "rteor" expression above. I would prefer to make it with a numerical method, not symbolic as the combination of
lsqcurvefit ( fsolve ( arrayfun ) )
, which I have already tried, takes a lot of time...
Hope anybody can help me. Thank you so much !!
//Sergio

回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by