Borrar filtros
Borrar filtros

Pre-allocating a memory for a Matrix

1 visualización (últimos 30 días)
Jhie Ton
Jhie Ton el 4 de Feb. de 2020
Comentada: Stephen23 el 4 de Feb. de 2020
How can I pre-allocate a memory for a matrix? for example, a 1x200 matrix?

Respuestas (1)

KSSV
KSSV el 4 de Feb. de 2020
iwant = zeros(1,200) ;

Categorías

Más información sobre Multidimensional Arrays en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by