pca coeff,scores, explained for several matrices in a for loop
2 ビュー (過去 30 日間)
古いコメントを表示
Hy everybody,
I have the following issue: i want to get the coeff, scores and explained values for all my 17 submatrices using the following loop.
How do i have to assign the variables coeff, score, explained in advance in the code that it gives me not 1 but 17 outputs?
for j=1:17 %number of my matrices
[coeff,score,~,~,explained] = pca(S.Submatrices.tp{1, j});
end
my matrices have the size (15,221).
Thanks for help!
回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!