In trying to fit 3 parameters in an ODE system using lsqcurvefit, but MATLAB gives me the following error message:
??? Error using ==> lsqcurvefit at 253Function value and YDATA sizes are incommensurate.Error in ==> fit_massb at 21[kfinal,resn,error,exf,out,l,jac]=lsqcurvefit(@callmassb,k0,tspan,yd,lb,ub,[],x0);
What does this mean?
Best Answer