
Originally Posted by
Optiminimal
I'm not very used to Matlab yet, and I suspect I'm doing a silly error with formating arguments for a Levenberg-Marquart function I want to use.
For the leasqr.m function [f,p,kvg,iter,corp,covp,covr,stdresid,Z,r2]= ...
leasqr(x,y,pin,F,stol,niter,wt,dp,dFdp,options)
I write:
leasqr([113,170,289,399,535,609,645],[210,143,89,79,12,162,206],{'ay','cy','ax','cx'},'y=f(cy-(ay*(ax*ax-(cx-x)^2)^(1/2))/ax)',0.1,10)
and get:
??? Function 'mtimes' is not defined for values of class 'cell'.