Problem in data loading

14 Ansichten (letzte 30 Tage)
siddhartha chandel
siddhartha chandel am 8 Nov. 2012
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.

Antworten (2)

Arthur
Arthur am 8 Nov. 2012
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 am 8 Nov. 2012
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.

Community Treasure Hunt

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

Start Hunting!

Translated by