eigen2
m |
|||
(4 intermediate revisions by 2 users not shown) | |||
Line 8: | Line 8: | ||
where evecs are the eigen vectors, evals are the eigen values, avg is the band average and C is the covariance matrix. | where evecs are the eigen vectors, evals are the eigen values, avg is the band average and C is the covariance matrix. | ||
| | | | ||
− | [[Syntax]]: eigen2( | + | [[Syntax]]: eigen2(object, number of vectors, iterations) |
− | + | 'object' - can be any set of vectors or arrays | |
− | + | 'number of vectors' - is the desired number of eigen vectors to be calculated | |
− | + | 'iterations' - is an optional number of iterations | |
| | | | ||
dv> a | dv> a | ||
577x1852x10 array of float, bsq format [42,744,160 bytes] | 577x1852x10 array of float, bsq format [42,744,160 bytes] | ||
− | where a is emissivity data | + | where a is emissivity data but this does not have to be the case |
dv> e=eigen2(a[::20,::100],10) | dv> e=eigen2(a[::20,::100],10) | ||
Line 49: | Line 49: | ||
*[[pca]] | *[[pca]] | ||
*[[pca2]] | *[[pca2]] | ||
+ | | | ||
+ | *general_science.dvrc | ||
| | | | ||
}} | }} | ||
[[category:Functions]] | [[category:Functions]] | ||
− | [[category: | + | [[category:User Defined Functions]] |
[[category:Matrix]] | [[category:Matrix]] |
Latest revision as of 16:10, 17 January 2008
Contents: Description, Arguments, Usage, Examples, Sub-Functions, Related Functions, Source Supported Under Version: >1.00
Description Compute eigenvalues and vectors from a set of spectra
Arguments and Return Values Arguments: A numeric array and a number of components Return Value: A structure containing .evecs, .evals, .avg, and .C. where evecs are the eigen vectors, evals are the eigen values, avg is the band average and C is the covariance matrix.
Usage Syntax: eigen2(object, number of vectors, iterations) 'object' - can be any set of vectors or arrays 'number of vectors' - is the desired number of eigen vectors to be calculated 'iterations' - is an optional number of iterations
Examples dv> a 577x1852x10 array of float, bsq format [42,744,160 bytes] where a is emissivity data but this does not have to be the case dv> e=eigen2(a[::20,::100],10) EV# Iterat. Eigenvalue ---+--------+----------- 1 200 318.930796 2 19 1.558902 3 14 0.551241 4 18 0.095099 5 17 0.037189 6 75 0.016159 7 200 0.014348 8 29 0.013861 9 54 0.009416 10 5 0.008374 struct, 4 elements evecs: 10x10x1 array of double, bsq format [800 bytes] evals: 10x1x1 array of float, bsq format [40 bytes] avg: 10x1x1 array of double, bsq format [80 bytes] C: 304x10x1 array of float, bsq format [12,160 bytes] |
DavinciWiki Mini-Nav Bar Contents
Contact Developers
All other topics
Recent Library Changes Created On: 02-15-2006 |