MATLAB: Any automatic curve fitting tool/function for fitting complex nonlinear curves

autofitautomatic curve fittingcurev fitCurve Fitting Toolboxdata fitImage Processing ToolboxMATLAB

I require an automatic curve fit function which gives me an equation of fit and the error values(Rsquare, RMSE etc.) for nonlinear one dim. data which I can use in my function. I dont need a GUI based manual fitting.

Best Answer

So far the best solution to the question is using sin and gauss functions either directly or using cftool.