this hopefully will be a quick question/answer. I am curious as to the difference between the "fit" function and the "lsqcurvefit" function. I ask this because for "fit" you can specify any model using an anonymous function (among other methods). For example, if I have a function that involves a convolution with some parameters in it that need to be fit, can I use the "fit" function or do I have to use the lsqcurvefit?
Appreciate the response.