selecting values randomly from dataset

 Akzeptierte Antwort

Walter Roberson
Walter Roberson am 16 Nov. 2011

0 Stimmen

IDX = randperm(size(X,1));
RandomRows = X(IDX(1:3),:);

Weitere Antworten (0)

Kategorien

Mehr zu MATLAB finden Sie in Hilfe-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