I\'m having trouble understanding and applying the use of nlinfit function in Matlab. So, let\'s say I\'m given vectors
nlinfit
x = [1, 2, 3, 4, 5] y
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.