how to get the half max numbers after sorting in descending order
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Maheen Fazal
el 30 de En. de 2019
Comentada: KSSV
el 30 de En. de 2019
Hi, suppose i have a vector E containing values = [90 12 43 20 78 51 32 55], i use sort command to sort them in decending order, but now i want half of them means there are 8 values in the array and want to access only the 1st 4 maximum values separately and last 4 minimum values in a separate Array which are sorted descendingly ,how shall i access them?
0 comentarios
Respuesta aceptada
Más respuestas (0)
Ver también
Categorías
Más información sobre Shifting and Sorting Matrices en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!