Problem in data loading
Afficher commentaires plus anciens
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.
Réponses (2)
Arthur
le 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
le 8 Nov 2012
0 votes
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.
Catégories
En savoir plus sur Database Toolbox dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!