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

📄 firextend.m

📁 linear time-frequency toolbox
💻 M
字号:
function g=firextend(g,L);%FIREXTEND   Extend FIR window to IIR%   Usage:  g=firextend(g,L);%%   FIREXTEND(g,L) will extend the FIR window g to a length L window by%   inserting zeros. Note that this is a slightly different behaviour%   than MIDDLEPAD.%%   SEE ALSO:  MIDDLEPADerror(nargchk(2,2,nargin));W=length(g);if W>L  error('L must be larger than length of window.');end;if rem(W,2)==0  % HPE middlepad works the same way as the FIR extension (e.g. just  % inserting zeros) for even-length signals.  g=middlepad(g,L,.5);else  % WPE middlepad works the same way as the FIR extension (e.g. just  % inserting zeros) for odd-length signals.  g=middlepad(g,L);end;  

⌨️ 快捷键说明

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