How to do curve fitting in my situation
이전 댓글 표시
function specialcurve = MagCurv(Js,H0,A,H1,H2,n,B,H3,H4)
specialcurve = @mfunc;
function J = mfunc(H)
J = Js*atan(H./H0)*2/pi.*(1-A*exp(-((H+H1)/H2).^n)).*(1-B*exp(-((log(H+eps)-...
log(H3))/log(H4)).^2));
end
end
Now I have raw data of H and J (array 1*23) and I want to get parameters(Js,H0,A,H1,H2,n,B,H3,H4) through curve fitting. Is that possible?
Thanks a lot!
답변 (1개)
카테고리
도움말 센터 및 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!