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

📄 reshapem.m

📁 雷达信号处理、或阵列信号处理中能够用上的重要的matlab工具箱——阵列信号处理工具箱
💻 M
字号:
function MMOut = reshapem(MMIn, newSize)% RECVAR, A package for new data types in Matlab 4. % (c) FOA 1997. See the file rvright.m for copyright notice.%%  function MMOut = reshapem(MMIn, newSize)%%  Works like 'reshape' but for multimatrices. The new indices are in a row %  vector 'newSize'. The first index is the "fastest loop" when shaping the new %  multimatrix.%%  MMOut, MMIn: MultimatrixT%  newSize: Integer row vector with the new sizes of the dimensions.%%  Start        : 961106 Svante Bj鰎klund (svabj).%  Latest change: $Date: 2000/10/13 19:53:43 $ $Author: svabj $.%  $Revision: 1.1 $% *****************************************************************************oldSize = getr(MMIn,'size');if (prod(newSize) ~= prod(oldSize))  error('Multimatrix MMIn must have prod(newSize) elements.')end%ifMMOut = setr(MMIn,'size', newSize);

⌨️ 快捷键说明

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