Using nlinfit in Matlab?

后端 未结 2 1946
清酒与你
清酒与你 2020-12-19 07:35

I\'m having trouble understanding and applying the use of nlinfit function in Matlab. So, let\'s say I\'m given vectors

x = [1, 2, 3, 4, 5] 
y          


        
2条回答
  •  爱一瞬间的悲伤
    2020-12-19 08:20

    beta0 is your initial guess at the parameters. The better your guess, the more likely you will see convergence to a viable solution. nlinfit is no more than an optimization. It has to start somewhere.

提交回复
热议问题