Case insensitive sort function

バージョン 1.1.0.0 (539 Bytes) 作成者: Germán
Case insensitive sorting of a cell array of strings.
ダウンロード: 536
更新 2014/3/26

ライセンスの表示

Matlab's SORT function returns first upper case contents and then lower case. SORTI will sort by alphabet without considering the case
For example
sort({'A' 'a' 'B' 'b'})
will return
{'A' 'B' 'a' 'b'}
while SORTI will return
{'A' 'a' 'B' 'b'}

25/3/2014 Update: Now also returns the index vector I as in the SORT function

引用

Germán (2024). Case insensitive sort function (https://www.mathworks.com/matlabcentral/fileexchange/41745-case-insensitive-sort-function), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2013a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersCharacters and Strings についてさらに検索
タグ タグを追加

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.1.0.0

25/3/2014 Update: Now also returns the index vector I as in the SORT function

1.0.0.0