Case insensitive sort function

Case insensitive sorting of a cell array of strings.

Ahora está siguiendo esta publicación

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

Citar como

Germán (2026). Case insensitive sort function (https://es.mathworks.com/matlabcentral/fileexchange/41745-case-insensitive-sort-function), MATLAB Central File Exchange. Recuperado .

Categorías

Más información sobre Characters and Strings 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.1.0.0

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

1.0.0.0