필터 지우기
필터 지우기

How to chose the initial values for the coefficeints in nlinfit

조회 수: 2 (최근 30일)
Prince Alex
Prince Alex 2014년 7월 22일
답변: Robert Cumming 2014년 7월 22일
How to chose the initial values for the coefficients in nonlinear fit:
say I am tying to fit using
a=nlinfit(x,y,'modelfun',a)
with a is the initial values for the coefficients
say I have define vector a as a=[0.1 1 1 1 0.1]
how to assign these initial values and what are these matrix elements (0.1,1,1,1,0.1) indicates.?

답변 (1개)

Robert Cumming
Robert Cumming 2014년 7월 22일
The values of "a" known as beta in the functions help are the initial values that the model will use as parameters in your 'modelfun'.
The values are 100% dependent on your model - you can start with zeros, ones or values which are "likely" to be near the end result - it can effect the solution so think about it carefully in advance.

카테고리

Help CenterFile Exchange에서 Regression에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by