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

1 回表示 (過去 30 日間)
alpedhuez
alpedhuez 2020 年 8 月 5 日
回答済み: Star Strider 2020 年 8 月 5 日
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 Center および File ExchangeCreating and Concatenating Matrices についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by