How to group same value data
15 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
barath manoharan
il 25 Gen 2023
Commentato: barath manoharan
il 9 Feb 2023
Iam having 2 6*1 matrix. Now i need to group elements in matrix A based on same value. then i need to choose corresponding elements from matrix B.
For example
A = [0.367;0.264;0.264;0.2345;0.2345;0.367]
B = [01111;00111;10011;10010;10000;01110]
expected output :
group 1 : 0.367
01111,01110
group 2 : 0.264
00111,10011
group 3 : 0.2345
10010,10000
2 Commenti
Dyuman Joshi
il 25 Gen 2023
OP could be trying to store binary representation of numbers as numeric data.
Risposta accettata
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Matrix Indexing in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!