rpolyreg

From STX Wiki
< Programmer Guide‎ | Command Reference‎ | EVAL
Revision as of 14:05, 17 May 2010 by 193.171.195.8 (talk) (initial import)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
rpolyreg

Computes the polynomial regression coefficients of order m for the function y=f(x).

Usage:

rpolyreg(m, y, {x})

Parameters:
m
The regression order (1=linear etc).
y
The y data vector.
x
The x data vector. If x is not supplied, then x[i] is set to the value of i.
Result:

The regression coefficients - a vector with m+1 elements.

Return Type:

A vector.

Navigation menu

Personal tools