How to use .mat file for dimensionality reduction
5 views (last 30 days)
Show older comments
Hi, I want to dimensionaly reduce the data set in Excel file. I converted data set in Excel file to .mat file. Now i want to use this for dimensionlity reduction. How can i use this file... i tried to find intrinsic dimensionality then it showed following error: >> whos Name Size Bytes Class Attributes
num 200x5 8000 double
raw 200x5 68000 cell
txt 0x0 0 cell
>> d= intrinsic_dim('C:\Users\lenovo\Desktop\xl.mat', 'MLE'); ??? Index exceeds matrix dimensions.
Error in ==> intrinsic_dim at 218 knnmatrix= .5 * log(distance(2:k2 + 1,:));
Can u tel me what m i missing... Thanks in advance.
0 Comments
Accepted Answer
Shashank Prasanna
on 2 Feb 2013
I think you need to pass the matrix and not the file it self to the function:
Try the following with you matrix data:
d= intrinsic_dim(num, 'MLE');
More Answers (0)
See Also
Categories
Find more on Data Import from MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!