pre-allocate
5 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
hi, when I used x=zeros(211197)
I got product of dimension is greater than maximum integer. what I do? I used pre-allocate to avoid out of memory
thanks
1 comentario
Jan
el 22 de Oct. de 2011
This has been answered in your former thread already: http://www.mathworks.com/matlabcentral/answers/17923-out-memory-problem
Please read the former answers carefully instead of trying to push me by email.
Respuestas (1)
bym
el 22 de Oct. de 2011
you are creating a matrix [211197 x 211197]. do you want perhaps:
x= zeros(211197,1) % ?!
0 comentarios
Ver también
Categorías
Más información sobre Resizing and Reshaping Matrices en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!