Problem in data loading

조회 수: 18 (최근 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