how to repeat a vector a lot of time

1 次查看(过去 30 天)
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?

回答(1 个)

madhan ravi
madhan ravi 2018-12-16
编辑:madhan ravi 2018-12-16
Either you should copy it lesser number of times or buy more memory.

类别

Help CenterFile Exchange 中查找有关 Multidimensional Arrays 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by