parameter estimation of predefined function
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi everyone, I have a function defined as following:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/145880/image.png)
I'd would like to know if there is a Matlab function that can estimate these two parameters given a set of values of (x,y).
With kind regards,
Winn
댓글 수: 2
Matt J
2014년 10월 28일
given a set of values of (x,y).
Are you not also given E(x,y)? You would need that, too.
채택된 답변
Matt J
2014년 10월 28일
편집: Matt J
2014년 10월 28일
There is lsqcurvefit in the Optimization Toolbox and nlinfit in the Statistics Toolbox. If you have neither, there is fminspleas ( Download ). The latter could be useful, because your model is loglinear in beta
log(E)-log(1-y) = beta*f(x,alpha)
which fminspleas can advantage of. In particular, fitting log(E)-log(1-y) with fminspleas only requires a good initial guess for alpha. The solution fminspleas gives you for both alpha and beta can then be used as initial guesses in a more refined fit.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Interpolation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!