How to group elements of an array
Mostrar comentarios más antiguos
I have a array of 1500 rows and 2 columns Now among the 1500 rows there are repetition of values like 5 100s 2 300 etc... now i need to group all these 100s such that i find the minimum value of column for this group. How to do that
1 comentario
Friedrich
el 28 de Ag. de 2012
Are you looking for the sort function? If not, can you post a small example matrix and the output you would like to get?
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Matrices and Arrays en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!