@kvos Hello my name is Ana Bastos. And I'm having a problem with the nlinfit function I'm not sure what is happening. I have inputed the extrisic (using the snapshot) and intrisic parameters of my camera as well as using my local coordinate system (WGS 84 / UTM 22S ).
Error using nlinfit>checkFunVals (line 641)
The function you provided as the MODELFUN input has returned Inf or NaN values.
Error in nlinfit>LMfit (line 612)
if funValCheck && ~isfinite(sse), checkFunVals(r); end
Error in nlinfit (line 276)
[beta,J,~,cause,fullr] = LMfit(X,yw, modelw,beta,options,verbose,maxiter);
Error in GUIforUAVtoolbox>buttonFirstframe_CallBack (line 1560)
nlinfit(xyz, [UV(:,1); UV(:,2)], 'findUVnDOF', inputs.beta0, options);
Error while evaluating UIControl Callback.
Any suggestions what could be happening?
@kvos Hello my name is Ana Bastos. And I'm having a problem with the nlinfit function I'm not sure what is happening. I have inputed the extrisic (using the snapshot) and intrisic parameters of my camera as well as using my local coordinate system (WGS 84 / UTM 22S ).
Error using nlinfit>checkFunVals (line 641)
The function you provided as the MODELFUN input has returned Inf or NaN values.
Error in nlinfit>LMfit (line 612)
if funValCheck && ~isfinite(sse), checkFunVals(r); end
Error in nlinfit (line 276)
[beta,J,~,cause,fullr] = LMfit(X,yw, modelw,beta,options,verbose,maxiter);
Error in GUIforUAVtoolbox>buttonFirstframe_CallBack (line 1560)
nlinfit(xyz, [UV(:,1); UV(:,2)], 'findUVnDOF', inputs.beta0, options);
Error while evaluating UIControl Callback.
Any suggestions what could be happening?