Generating a huge vector.

12 Ansichten (letzte 30 Tage)
Nina
Nina am 10 Jun. 2020
Bearbeitet: the cyclist am 10 Jun. 2020
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.

Antworten (1)

the cyclist
the cyclist am 10 Jun. 2020
Bearbeitet: the cyclist am 10 Jun. 2020
M = 1500;
N = 76800;
x = reshape(repmat(1:M,N,1),1,M*N);

Kategorien

Mehr zu MATLAB finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by