Generating a huge vector.

I'm trying to make a huge vector of 1x115200000. 1 to 76800 will be the number 1, 76800 to 153600 will be the number 2, till it reached number 1500.

Respuestas (1)

the cyclist
the cyclist el 10 de Jun. de 2020
Editada: the cyclist el 10 de Jun. de 2020

0 votos

M = 1500;
N = 76800;
x = reshape(repmat(1:M,N,1),1,M*N);

Categorías

Más información sobre Aerospace Blockset en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 10 de Jun. de 2020

Editada:

el 10 de Jun. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by