mdiv.m
来自「fading 在无线中的应用」· M 代码 · 共 21 行
M
21 行
function s = mdiv(varargin) % multiplies a number of argument% DESCRIPTION s = mdiv(a,b,c,...)% Divides (.*) varables of different sizes.% No warning if divide by zero.% Arguments are expanded to fit each other and then added together.% Expansion is made on singleton dimensions to fit the size of other.% INPUT% any two arguments of numeric matrices% OUTPUT% s -- The ratio (./) of the inputs% TRY% mdiv(ones(2,1),ones(1,2)), size(mdiv(ones(2,1),ones(2,3,4)))% SEE ALSO% mprod,mplus,adjsiz,adjsiza% by Magnus Almgren 000517v = adjsiz(varargin{:});warning offs = v{1}./v{2};warning on
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?