Dispmat: Difference between revisions

From Eigenvector Research Documentation Wiki
Jump to navigation Jump to search
imported>Jeremy
(Importing text file)
 
imported>Jeremy
(Importing text file)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
===Purpose===
===Purpose===
Calculates the dispersion matrix of two spectral data sets.
Calculates the dispersion matrix of two spectral data sets.
===Synopsis===
===Synopsis===
:[c,meansx,meansy,stdsx,stdsy] = dispmat(x,y,options);
:[c,meansx,meansy,stdsx,stdsy] = dispmat(x,y,options);
===Description===
===Description===
Calculates a dispersion matrix, as defined by the options, of datasets x and y.
Calculates a dispersion matrix, as defined by the options, of datasets x and y.
INPUTS:
 
* x : (2-way array class "double" or "dataset") x-matrix for dispersion matrix.
====Inputs====
* y : (2-way array class "double" or "dataset") y-matrix for dispersion matrix.
 
OUTPUTS:
* '''x''' : (2-way array class "double" or "dataset") x-matrix for dispersion matrix.
* c : dispersion matrix, as defined by options.
 
* meansx : mean of x.
* '''y''' : (2-way array class "double" or "dataset") y-matrix for dispersion matrix.
* meansy : mean of y.
 
* stdsx : standard deviation of x.
====Outputs====
* stdsy : standard deviation of y.
 
* '''c''' : dispersion matrix, as defined by options.
 
* '''meansx''' : mean of x.
 
* '''meansy''' : mean of y.
 
* '''stdsx''' : standard deviation of x.
 
* '''stdsy''' : standard deviation of y.
 
===Options===
===Options===
* offsetx : [0] offset for x.
 
* offsety : [0] offset for y.
* '''offsetx''' : [0] offset for x.
* dispersion : [1] dispersion matrix calculated:
 
*  1: standardized, offset corrected
* '''offsety''' : [0] offset for y.
*  2: length sqrt(nrows), offset corrected
 
*  3: purity about mean, offset corrected
* '''dispersion''' : [1] dispersion matrix calculated:
*  4: purity about origin, offset corrected
 
*  5: asynchronous, offset corrected
'''1''': standardized, offset corrected
 
'''2''': length sqrt(nrows), offset corrected
 
'''3''': purity about mean, offset corrected
 
'''4''': purity about origin, offset corrected
 
'''5''': asynchronous, offset corrected
 
===See Also===
===See Also===
[[corrspec]], [[corrspecengine]], [[purity]]
[[corrspec]], [[corrspecengine]], [[purity]]

Latest revision as of 17:33, 3 September 2008

Purpose

Calculates the dispersion matrix of two spectral data sets.

Synopsis

[c,meansx,meansy,stdsx,stdsy] = dispmat(x,y,options);

Description

Calculates a dispersion matrix, as defined by the options, of datasets x and y.

Inputs

  • x : (2-way array class "double" or "dataset") x-matrix for dispersion matrix.
  • y : (2-way array class "double" or "dataset") y-matrix for dispersion matrix.

Outputs

  • c : dispersion matrix, as defined by options.
  • meansx : mean of x.
  • meansy : mean of y.
  • stdsx : standard deviation of x.
  • stdsy : standard deviation of y.

Options

  • offsetx : [0] offset for x.
  • offsety : [0] offset for y.
  • dispersion : [1] dispersion matrix calculated:
  • 1: standardized, offset corrected
  • 2: length sqrt(nrows), offset corrected
  • 3: purity about mean, offset corrected
  • 4: purity about origin, offset corrected
  • 5: asynchronous, offset corrected

See Also

corrspec, corrspecengine, purity