I getting the following error

Requested 2160x2560x295 (3.0GB) 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.

Similar questions and discussions