How to reduce the variable size.I have attached my program. Output error- Maximum variable size allowed by the program is exceeded.

How to reduce the variable size.I have attached my program. Output error- Maximum variable size allowed by the program is exceeded.

4 comentarios

In 2015b, the error is more detailed and as follow:
Requested 85x85x85x85x85 (33.1GB) array exceeds maximum array size preference.
Unless you have at least 33.1 GB of ram, there's no way that your ndgrid call will succeed.
Is there any process to write the program without using array.
It depends. What is "the program" supposed to do?
I have attached my programming please check.(abcde.txt)

Iniciar sesión para comentar.

Respuestas (1)

2 comentarios

For 5 it is not giving the result. Please check.
>> ABCDE = nchoosek(uint8(1:89),5);
>> size(ABCDE)
ans =
41507642 5
You can extract the individual columns if you need to,

Iniciar sesión para comentar.

Categorías

Preguntada:

el 13 de Sept. de 2015

Editada:

el 16 de Sept. de 2015

Community Treasure Hunt

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

Start Hunting!

Translated by