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 Center および File ExchangeDimensionality 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