cell2num.m

来自「基于Matlab的地震数据处理显示和测井数据显示于处理的小程序」· M 代码 · 共 19 行

M
19
字号
function x=cell2num(cx)% Convert a cell array of numbers into a numeric array%% Written by: E. R.: March 1, 2006% Last updated:%%%          x=cell2num(cx)% INPUT% cx       cell array whos enries a numbers% OUTPUT% x        numeric array of the same dimension with the same numbers%% EXAMPLE%          cell2num({1,2;3,4})x=[cx{:}];x=reshape(x,size(cx));

⌨️ 快捷键说明

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