Convert a matrix to an array

2 visualizaciones (últimos 30 días)
NC
NC el 27 de Abr. de 2018
Respondida: KSSV el 27 de Abr. de 2018
I want to get the highest coefficients after applying PCA to an image. For this I'm going to convert the matrix of pixels to an array and then sort it. How to do it? or else is there a better way to sort the highest 10 PCA coeff

Respuestas (1)

KSSV
KSSV el 27 de Abr. de 2018
load hald
coeff = pca(ingredients) ;
max(coeff(:))

Categorías

Más información sobre Dimensionality Reduction and Feature Extraction en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by