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

版本 1.0.0.0 (3.5 KB) 作者: John
The code produces a Pareto chart, Loadings Plots, and Bi-plots of the Iris data imported as a table.
432.0 次下载
更新时间 2015/9/29

查看许可证

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.

引用格式

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

MATLAB 版本兼容性
创建方式 R2013b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 2-D and 3-D Plots 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0

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