No BSD License
Highlights from
fitlin
|
|
| File Information |
| Description |
Linear fit using least squares analythic computations. X is the independent variable, Y is the dependent variable, is the vector of the standard deviations of Y. The errors on a and b are calculated, too. The fit procedure weights each Y data with its own variance, so that points with big variance have a little influence. If SY i constant, fit is possible but all points will have the same weight.
The correlation coefficient is calculated by corrcoef, so it is independent on the computed coefficients. This fit is useful when you have to know exactly what the fit does, in fact the formula is absolutely deterministic. |
| MATLAB release |
MATLAB 7.1.0 (R14SP3)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (1) |
| 23 Jun 2008 |
John D'Errico
|
|
|
|
Contact us at files@mathworks.com