⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cellsort.m

📁 时间序列分析的信号处理MATLAB工具包
💻 M
字号:
function [result, index] = cellsort(x)% tstool/cellsort% sort an cell-array x of strings% result is an cell array containing the strings in ascending order% index contains the permutation orderif nargin < 1, help(mfilename), return, end if iscellstr(x)	temp = char(x); 	% convert cell-array to fixed-length array, each string in a row	[temp, index] = sortrows(temp);		result = cellstr(temp);	% convert array back to cell-arrayelse	error('Argument is not a cell array of strings');end

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -