Sorting a Cell Array

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

Ahora está siguiendo esta publicación

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.

Citar como

Jeff Jackson (2026). Sorting a Cell Array (https://es.mathworks.com/matlabcentral/fileexchange/13770-sorting-a-cell-array), MATLAB Central File Exchange. Recuperado .

Categorías

Más información sobre Data Types en Help Center y MATLAB Answers.

Información general

Compatibilidad con la versión de MATLAB

  • Compatible con cualquier versión

Compatibilidad con las plataformas

  • Windows
  • macOS
  • Linux
Versión Publicado Notas de la versión 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.