How to use .mat file for dimensionality reduction
2 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Shashank Prasanna
2013-2-2
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');
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Import from MATLAB 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!