Hello, I would like to use [x ,v ,info]=lsqrsolve(x0,fct,m ,fjac ,stop ,diag) If the number of data is D and the number of parameters to be found is P what size should the output of fjac be ? (D,P) ? or (P,D) ? And for fct ? (D,1) ? or (1,D) ? Thank you Guylaine