为什么我不能使用MapCaplot?
1view (last 30 days)
显示较旧的评论
你好,
I'm trying to preform PCA analysis for a set of values that I get from the attached excel.
我需要对所有40个变量进行预定分析。
Clc
clearall
关all
x =可读取('pca table.xlsx');
X=table2array(x);
mapcaplot(x)
当我尝试使用mapCaplot时,我会收到以下错误:
指数在位置2中超过阵列边界(不得超过1)。
Error在mapcaplot> localupdatebrushplots(行201)中
ydata = data(:,index_dim2);
Error在MapCaplot> Localinit(第178行)中
localupdatebrushplot(图);
Error在MapCaplot(第65行)中
localInit(fig,varargin{:});
Error在无标题(第7行)中
mapcaplot(x)
感谢您的帮助。我以前从未尝试过PCA,我不确定功能确切需要作为输入。
谢谢,
露丝