how to run principal component analysis in a 3D matrix
Show older comments
Hi,
I am trying to run principal component analysis, pca() function to a 3D matrix. It does not work and I think it only works with 2D matrixes. Is there any way to circunvent this limitation?
Thank you,
Best regards,
Accepted Answer
More Answers (1)
Image Analyst
on 22 Feb 2022
0 votes
See my attached demo where I run it on a 3-D (true color) image. Adapt as needed.
Categories
Find more on Dimensionality Reduction and Feature Extraction in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!