how to repeat a vector a lot of time

1 visualizzazione (ultimi 30 giorni)
tanveer haq
tanveer haq il 16 Dic 2018
Modificato: madhan ravi il 16 Dic 2018
I have a row vector say:
a=[1:65536];
I want to repeat this row 65536 times. i.e.
repeat_it = repmat(a,65536,1);
but i get the following error:
Error using repmat
Out of memory. Type HELP MEMORY for your
options.
Any help to this problem?

Risposte (1)

madhan ravi
madhan ravi il 16 Dic 2018
Modificato: madhan ravi il 16 Dic 2018
Either you should copy it lesser number of times or buy more memory.

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