I have two scripts for fitting a function. The fitting results are the same for both of the scripts, but plotting the fit results is producing different plots.

I have two attached scripts creatFit.m and expfit_mine. I am fitting same data with same lower and upper bounds with same starting points. The fitresults are giving the same values for parameters, but while I am plotting they are producing different plots. createFit was generated by matlab and I made the expfit_mine.
Regards, Manvendra

 Accepted Answer

More Answers (0)

Categories

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!