Sorting a Cell Array

This function will sort a cell array even if it is mixed.

現在この提出コンテンツをフォロー中です。

This function sorts a cell array, even if it contains character strings and numeric values (i.e. mixed). The only restriction is that it assumes that each column contains either numeric values or character strings, not both. It sorts the rows in ascending order. Note that it allows more than one column to be sorted according to the priority input by the user.

引用

Jeff Jackson (2026). Sorting a Cell Array (https://jp.mathworks.com/matlabcentral/fileexchange/13770-sorting-a-cell-array), MATLAB Central File Exchange. に取得済み.

カテゴリ

Help Center および MATLAB AnswersData Types についてさらに検索

一般的な情報

MATLAB リリースの互換性

  • すべてのリリースと互換性あり

プラットフォームの互換性

  • Windows
  • macOS
  • Linux
バージョン 公開済み リリース ノート Action
1.0.0.0

The update for the MODE functionality does not work correctly as Mathworks sort.m function does not allow cell arrays to be sorted when using the DIM argument.