Programmer Guide/Command Reference/EVAL/rpolyreg: Difference between revisions
From STX Wiki
< Programmer Guide | Command Reference | EVAL
Jump to navigationJump to search
(initial import) |
m (1 revision: Initial import) |
(No difference)
| |
Revision as of 17:31, 18 November 2010
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 ofi.
Result:
The regression coefficients - a vector with m+1 elements.
Return Type:
A vector.