What is the meaning of [B,J]=sort(A,'descend')?
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
What is the meaning of [B,J]=sort(A,'descend')
Why can he use [B,J] here?
1 comentario
Stephen23
el 2 de Abr. de 2019
Editada: Stephen23
el 2 de Abr. de 2019
"What is the meaning of [B,J]=sort(A,'descend')"
B = the sorted data.
J = the sort indices along the dimension sorted along.
'descend' = tells sort to sort the values into descending order.
"Why can he use [B,J] here?"
Because its author read the documentation:
Respuestas (0)
Ver también
Categorías
Más información sobre Shifting and Sorting Matrices en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!