I'm trying to preform PCA analysis for a set of values that I get from the attached excel.
I need to preform the analysis on all 40 variables.
When I try to use mapcaplot I get the following error:
Index in position 2 exceeds array bounds (must not exceed 1).
Error in mapcaplot>localUpdateBrushPlots (line 201)
ydata = data(:,INDEX_DIM2);
Error in mapcaplot>localInit (line 178)
Error in mapcaplot (line 65)
Error in Untitled (line 7)
I would appreciate some help. I've never tried to do PCA before and I'm not sure what exactly the function needs as input.