Problem in data loading

4 次查看(过去 30 天)
siddhartha chandel
siddhartha chandel 2012-11-8
I have a data which shows in workspace 40x40x524288 but the problem is that it can't display. Variable editor says that it " Cannot display summaries of variables with more than 524288 elements". How can i short out this . Thanks in advance.

回答(2 个)

Arthur
Arthur 2012-11-8
You will need to make the array smaller to display it, that's obvious from the error message. Also, it is an array with 3 dimension, which cannot be displayed. You could display it by chopping it op in smaller arrays.
a = mydata(:,:,1);
Now you can display a.
However, I really wonder why you want to display such an array, containing 800 million values...

Walter Roberson
Walter Roberson 2012-11-8
The data has likely loaded correctly, and you are just encountering a limit on the variable editor. You can use max() and min() on the variable from the command window if you want to see those values.

类别

Help CenterFile Exchange 中查找有关 Database Toolbox 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by