Azzera filtri
Azzera filtri

Pre-allocating a memory for a Matrix

1 visualizzazione (ultimi 30 giorni)
Jhie Ton
Jhie Ton il 4 Feb 2020
Commentato: Stephen23 il 4 Feb 2020
How can I pre-allocate a memory for a matrix? for example, a 1x200 matrix?

Risposte (1)

KSSV
KSSV il 4 Feb 2020
iwant = zeros(1,200) ;

Categorie

Scopri di più su Multidimensional Arrays in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by