Sorting a Cell Array

版本 1.0.0.0 (2.4 KB) 作者: Jeff Jackson
This function will sort a cell array even if it is mixed.
10.4K 次下载
更新时间 2008/3/5

查看许可证

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 (2024). Sorting a Cell Array (https://www.mathworks.com/matlabcentral/fileexchange/13770-sorting-a-cell-array), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2006b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Data Types 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
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.