mat2cellstrings.m
来自「三谱混合相位子波估计!! 这是我的一篇文章所涉及到的matlab 源代码」· M 代码 · 共 18 行
M
18 行
function cellstring=mat2cellstrings(mat)
% Convert numeric matrix into a cellarray of strings
% Written by: E. R.: September 16, 2004
% Last updated:
%
% cellstring=mat2cellstrings(mat)
% INPUT
% mat numeric matrix
% OUTPUT
% cellstring
dims=size(mat);
cellstring=cell(dims);
for ii=1:prod(dims);
cellstring{ii}=num2str(mat(ii));
end
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?