extract mth and m+1st largest element from a vector

1 visualización (últimos 30 días)
alpedhuez
alpedhuez el 5 de Ag. de 2020
Respondida: Star Strider el 5 de Ag. de 2020
maxk find the largest elements of an array. Then, is there a function that allows to extract a general mth and m+1st highest element from a vector. Is using sort is the best way?

Respuesta aceptada

Star Strider
Star Strider el 5 de Ag. de 2020
Is using sort is the best way?
Yes.

Más respuestas (0)

Categorías

Más información sobre Creating and Concatenating Matrices en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by