How can I define a matrix that exceeds maximum array size?

1 visualización (últimos 30 días)
ALiaa Tarik
ALiaa Tarik el 23 de Jun. de 2019
I try to solve a nonlinear optimization problem using fmincon. the initial value x0 is a 467856 by 1 vector. when calling fmincon I have got this error
Error using zeros
Requested 467856x467856 (1630.9GB) array exceeds maximum array size preference.
when I typed 'memory' in the workspace, it showed the following information
Maximum possible array: 11812 MB (1.239e+10 bytes) *
Memory available for all arrays: 11812 MB (1.239e+10 bytes) *
Memory used by MATLAB: 1703 MB (1.785e+09 bytes)
Physical Memory (RAM): 16223 MB (1.701e+10 bytes)
* Limited by System Memory (physical + swap file) available.
Is there any help?

Respuestas (0)

Categorías

Más información sobre Operators and Elementary Operations en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by