luboq.m
来自「一种新的时频分析方法的matlab源程序。」· M 代码 · 共 26 行
M
26 行
function q=luboq(nx,ny,m)
% The function LUBOQ returns a 2-D filter of nx by ny.
%
% Both nx and ny should be even.
% m should be between 0 and 1;
% The smaller m is the wider filter is generated.
%
% Calling sequence-
% q=luboq(nx,ny,m)
%
% Input-
% nx - number of filter points in 1st dimension
% ny - number of filter points in 2nd dimension
% m - smoothing window
% Output-
% q - filter
% Z.Shen (JHU) 1997 Initial
%----- Construct a 2-D filter
q1=fir1(nx,m);
q2=fir1(ny,m);
[Q1,Q2]=meshgrid(q1,q2);
q=Q1.*Q2;
q=q/(max(max(q)));
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?