Principal Component Analysis for Iris Setosa data (50x4 matrix) from Fisher (1936)

Versión 1.0.0.0 (3,49 KB) por John
The code produces a Pareto chart, Loadings Plots, and Bi-plots of the Iris data imported as a table.
446 Descargas
Actualizado 29 sep 2015

Ver licencia

The code works fine. The data points need to be numbered 1 through 50. You can see where I tried to use 'ObsLabels',num2cell(1:50)' to label the points in the figure. I placed a % in front of each location I am trying to use ObsLabels to label the points. Any 50x4 matrix of numbers in an Excel spreadsheet will work for this demonstration. Deciding to use the Iris Setosa data was arbitrary. Any information on how to add to this code so that the sample number appears with each symbol in the Bi-plots would be much appreciated.

Citar como

John (2025). Principal Component Analysis for Iris Setosa data (50x4 matrix) from Fisher (1936) (https://la.mathworks.com/matlabcentral/fileexchange/53283-principal-component-analysis-for-iris-setosa-data-50x4-matrix-from-fisher-1936), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2013b
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre 2-D and 3-D Plots en Help Center y MATLAB Answers.
Etiquetas Añadir etiquetas

Community Treasure Hunt

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

Start Hunting!
Versión Publicado Notas de la versión
1.0.0.0

uploaded the Matlab code that runs correctly but % used to show what failed to label the data points.