How can I define a matrix that exceeds maximum array size?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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?
0 commentaires
Réponses (0)
Voir également
Catégories
En savoir plus sur Operators and Elementary Operations dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!