Method matrix/polyfit


  POLYFIT overloads polyfit() function of MATLAB for ltpda_container objects.
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
  DESCRIPTION: POLYFIT overloads polyfit() function of MATLAB for ltpda_container objects.
 
  CALL:        out = polyfit(in, pl);
 
  Note: this is just a wrapper of ao/polyfit. Each AO in the ltpda_container is passed
  to ao/polyfit with the input plist. 
  
  INPUTS:      in      -  input ltpda_container objects 
               pl      -  parameter list
 
  OUTPUTS:     out     -  output ltpda_container objects 
 
  Parameters Description
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Method Details
Access public
Defining Class ltpda_container
Sealed 0
Static 0

Parameter Description

Default

no description
Key Default Value Options Description
polyfit
N, ORDER 1
  • 0
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
Degree of polynomial to fit.
RESCALE 0
  • 0
  • 1
set to 'true' or 'false' to center and rescale the data before fitting.
See "help polyfit" for further details.

Example

plist('N', [1], 'RESCALE', [false])

back to top back to top

Some information of the method ltpda_container/polyfit are listed below:
Class name ltpda_container
Method name polyfit
Category Signal Processing
Package name ltpda
VCS Version 967b0eec0dece803a81af8ef54ad2f8c784b20b2
Min input args 1
Max input args -1
Min output args 1
Max output args -1
Can be used as modifier 0
Supported numeric types {'double'}




©LTP Team