Yes, I did check the dimensions of x, ri, r and wr before, which all came back to be 1024x1. -- View this message in context: http://mailinglists.scilab.org/Scilab-leastsq-exponential-fitting-tp4030949p4030975.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.