MATLAB File Help: cv.PCA/PCA Index
cv.PCA/PCA

PCA constructors

pca = cv.PCA()
pca = cv.PCA(data, 'OptionName', optionValue, ...)
pca = cv.PCA(S)

Input

Options

Same set of options as the cv.PCA.compute method.

The constructor creates an empty PCA object without an argument. Use cv.PCA.compute to analyze data samples. The second form accepts data samples with the same arguments as cv.PCA.compute. The third form create a new PCA object from a scalar struct with 'eigenvectors', 'eigenvalues', and 'mean' fields.

See also