i want to pick n1*2 matrix (sub matrix 1) randomly from m*2 matrix (n1<m). condition is while picking n2*2 (submatrix 2) the rows of submatrix 1 should not be repeated in the subsequent selection. please help me
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
example:
A = [ 1 2 ; 3 4 ; 5 6 ; 7 8 ; 9 10; 11 12 ];
output should be
A1 = [ 1 2 ; 3 4 ];
A2 = [ 5 6 ; 7 8 ; ];
A3 = [ 9 10 ; 11 12];
0 commentaires
Réponses (0)
Voir également
Catégories
En savoir plus sur Denoising and Compression dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!