Error of array size

1 Ansicht (letzte 30 Tage)
Syakira Akmal
Syakira Akmal am 4 Apr. 2017
Beantwortet: KSSV am 4 Apr. 2017
this error come out when run my project. "Requested 5992704x5992704 (33446.1GB) array exceeds maximum array size preference. Creation of arrays greater than this limit may take a long time and cause MATLAB to become unresponsive. See array size limit or preference panel for more information." Even i have change my looping. Size of my image is 2448x2448x3 uint8 and set my [X,Y] = meshgrid(1:2448,1:2448); can tell me what should i do?

Akzeptierte Antwort

KSSV
KSSV am 4 Apr. 2017
See the error clearly says..to create the required dimensions data it needs 33446.1GB. Does your computer RAM supports that much space? You must know, why there is a necessity to create such huge data?
Read about memory, it shows the maximum possible array for your pc.

Weitere Antworten (0)

Kategorien

Mehr zu Matrix Indexing finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by