Answered
Fitting an exponential curve to data and comparing it to excel
Hi Alice I just ran this same example using MATLAB and Excel. In both cases, the coefficients from the nonlinear regression ag...

14 years ago | 3

| accepted

Answered
Does MATLAB have a Birthday Problem?
Hi Derek Your question about the birthday problem is best viewed as a special case of a more general topic: How should measure...

15 years ago | 1

Answered
Finding regression values for a fixed gradient line
Here's some simple code to calculate R^2 SStot = sum((Y - mean(Y)).*(Y - mean(Y))); resid = Y - YHat; resid_sqrd = resid.*r...

15 years ago | 0

Answered
correlation coefficient for a non-linear fit
Hi Marina You might find the following blog posting of interest. (It shows some interesting ways to use Curve Fitting Toolbo...

15 years ago | 1

Answered
Contour Plotting in Surface Fitting Tool
Here's some code that should help get you started. Most of this code is framing the problem. The section dealing with the cust...

15 years ago | 0

Answered
3D plot from imported Excel data
Curve Fitting Toolbox supports command line functions and interactive tools for surface fitting. The toolbox assumes that sur...

15 years ago | 1