Is there a simple way for Matlab to keep testing coefficients of the two equations in the red box such that the above curve is produced?
(I have another known function that produces the curve)
Best Answer
There is. MATLAB has several functions and one Toolbox devoted to solving that problem, calledparameter estimation.
See specifically the Statistics Toolboxnlinfit, the Optimization Toolboxlsqcurvefit, the core MATLAB functionfminsearch functions, and the Curve Fitting Toolbox for details.
Three variables plus one result = 4 dimensions. To represent the 4th dimension you will need to use color or transparency or shading or marker size or marker shape.
Best Answer