标签: matlab pca
我正在尝试对3维数据应用pca()函数,但我得到空COEFF矩阵
x1 = randn(400,1); y1 = randn(400,1); z1 = randn(400,1); plot3(x1,y1,z1,'r.'); [COEFF] = pca([x1;y1;z1]')