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

📄 laf.m

📁 分数阶Fourier变换程序
💻 M
字号:
function out = laf(wig, t, f, M)% laf -- compute the local ambiguity function at a time-frequency point%%  Usage%    q = laf(wig, t, f, M)%%  Inputs%    wig   Wigner distribution of the signal (see wigner1.m)%    t     time%    f     frequency%    M     rectangular window on the Wigner distribution.  Used to limit%          the computational requirements. (optional, defaults to 32)%%  Outputs%    q     the local ambiguity function the time-frequency point% Copyright (C) -- see DiscreteTFDs/Copyrighterror(nargchk(3,4,nargin));if (nargin==3)  M = 32;endN = length(wig);mtau = min(t-1, N-t);mtau = min(mtau, M);mtheta = min(f-1, N-f);mtheta = min(mtheta, M);out = zeros(mtau+1, 2*mtheta+1);for theta = -mtheta:mtheta,  out(:,theta+mtheta+1) = ...            (wig(f+theta,t:t+mtau).*wig(f-theta,t:-1:t-mtau))';endout = [out; zeros(M-mtau, 2*mtheta+1)];out = [zeros(M+1,M-mtheta ) out zeros(M+1,M-mtheta)];

⌨️ 快捷键说明

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