Generating a huge vector.
조회 수: 14 (최근 30일)
이전 댓글 표시
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.
댓글 수: 0
답변 (1개)
the cyclist
2020년 6월 10일
편집: the cyclist
2020년 6월 10일
M = 1500;
N = 76800;
x = reshape(repmat(1:M,N,1),1,M*N);
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!