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

1 次查看(过去 30 天)
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?

采纳的回答

Star Strider
Star Strider 2020-8-5
Is using sort is the best way?
Yes.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Creating and Concatenating Matrices 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by