Convert a matrix to an array

2 次查看(过去 30 天)
NC
NC 2018-4-27
回答: KSSV 2018-4-27
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

回答(1 个)

KSSV
KSSV 2018-4-27
load hald
coeff = pca(ingredients) ;
max(coeff(:))

类别

Help CenterFile Exchange 中查找有关 Dimensionality Reduction and Feature Extraction 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by