gistlib
other matlab categories
least-squares-regression code snippets in matlab
compute the best fitting (in the sense of least squares method) function of the form f(t)=a/t+b for the data below. tf16−13−5−3−449−3−97 then its value at −7 is in matlab
use least squares to create a function that performs regression for v = a*(x/(x+b)) and output a, b, and r^2 in matlab
gistlib
by LogSnag