Random sequency generation at specific numbers
Ältere Kommentare anzeigen
Dear community,
I would like to generate a sequency random at the follow vector:
Size : 1x19 double,
Then, I used the code:
V=DHSV; % the vector (size: 1x19)
N=5000; % total number wanted
RV=repmat(V,1,N/numel(V));
RV=RV(randperm(N));
Executing the code, the follow error message shown:
Error using repmat
Replication factors must be a row vector of integers or integer scalars.
Can help me, please?
Thank you very much,
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Random Number Generation finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

