What does this error mean? (lsqcurvefit)
Mostrar comentarios más antiguos
I have no idea what line291 is saying here. Seems pretty much advanced stuff. It came up when I was trying running a bunch of lsqcurve fit using Trust region algorithm (due to lb and ub, otherwise would have preferred Levenberg algorithm). I am iterating my input parameters myself too via for loop, as it seemed that iniital parameters were affecting final outcome too much just to see where it goes. and give best solution. But after 5 mins this came up.
Error using trdog>quad1d (line 291)
Square root error in trdog/quad1d.
Error in trdog (line 180)
[nss,tau] = quad1d(nss,ssssave,delta);
Error in snls (line 316)
[sx,snod,qp,posdef,pcgit,Z] = trdog(x,g,A,D,delta,dv,...
Error in lsqncommon (line 150)
[xC,FVAL,LAMBDA,JACOB,EXITFLAG,OUTPUT,msgData]=...
Error in lsqcurvefit (line 253)
[xCurrent,Resnorm,FVAL,EXITFLAG,OUTPUT,LAMBDA,JACOB] = ...
Error in lambda7 (line 211)
[phiLSQ,resnorm,fval,output]= lsqcurvefit( @(phi,x) lambdafn7(phi,x),initial_param,x,y,lb,ub,options);
1 comentario
Star Strider
el 15 de En. de 2017
‘What does this error mean?’
We have no idea. We don’t have your code to refer to.
Respuesta aceptada
Más respuestas (1)
satya kothapalli
el 18 de En. de 2018
Editada: Walter Roberson
el 18 de En. de 2018
0 votos
HI Vipul,
I also facing the same problem with my model code, as you have described in the first comment. It is interesting that you have sorted out multiple loops and identified the unexpected initial parameters in the end. Can you describe exactly what changes you have made to run smoothly. It would help me a lot.
Thank you, Regards, Satya.
Categorías
Más información sobre Matrix Indexing en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!