mtimes.m
来自「基于matlab的面向对象的信号处理类库。主要应用于音频、语音信号的一些处理。内」· M 代码 · 共 22 行
M
22 行
function c = mtimes(a,b)% overloading of operator *% $Id: mtimes.m 31 2004-07-28 10:46:46Z mairas $if isa(a,'signal') & isa(b,'signal') error('Matrix multiplication of two signals not supported.');elseif isa(a,'signal') & ~isa(b,'signal') if max(size(b))>1 error('Only scalar multipliers are allowed.'); end c = signal(a.s * b, a.time);elseif ~isa(a,'signal') & isa(b,'signal') if max(size(a))>1 error('Only scalar multipliers are allowed.'); end c = signal(a * b.s, b.time);else error('Invalid operands in multiplication.');end
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?