witam,
potrzebuje przepisac dzialanie funkcji polyfit z matlaba do c++... czy ktos moglby mi wskazac od czego powinienem zaczac? lub czy ktos zna jakas biblioteke do c++ gdzie ta funkcje mozna znalezc?
opis funkcji:
p = polyfit(x,y,n) finds the coefficients of a polynomial p(x) of degree n that fits the data, p(x(i)) to y(i), in a least squares sense. The result p is a row vector of length n+1.
link do matlab:
http://www.mathworks.com/help/techdoc/ref/polyfit.html
pozdrawiam,
D.