No BSD License
-
fft_tfr(n,m,x,y)
-
mklag(nrad,nphi,nlag,iphi,jra...
mklag: compute radial sample lag
-
plagmake(nrad, nphi, nlag)
plagmake - make matrix of lags for polar running AF
-
polafint(nrad,nphi,ntheta,max...
polafint: interpolate AF on polar grid;
-
pthetamake(nrad, nphi, ntheta...
pthetamake - make matrix of theta indicies for polar samples
-
rectaf(xr,xi,laglen,freqlen,a...
rectaf: generate running AF on rectangular grid;
-
rectamake(nlag, n, forget)
-
rectkern(itau,itheta,ntheta,n...
rectkern: generate kernel samples on rectangular grid
-
rectopol(nraf, nlag, nrad, np...
rectopol: find polar indices corresponding to rect samples
-
rectrotmake(nraf, nlag, outde...
rectrotmake: make array of rect AF phase shifts
-
sigupdate(nrad,nphi,nits,vol,...
sigupdate: update RG kernel parameters
-
main_AOK.m
-
View all files
from
Adaptive Optimal Kernel
by Tony Reina
An Adaptive Optimal-Kernel Time-Frequency Representation
|
| rectrotmake(nraf, nlag, outdelay)
|
function [rectrotr,rectroti] = rectrotmake(nraf, nlag, outdelay)
% rectrotmake: make array of rect AF phase shifts
% G.A. Reina 16 Jan 2007
% Modified from the C code provided by D. L. Jones and R. G. Baraniuk
% "An Adaptive Optimal-Kernel Time-Frequency Representation"
% by D. L. Jones and R. G. Baraniuk, IEEE Transactions on Signal
% Processing, Vol. 43, No. 10, pp. 2361--2371, October 1995.
twopin = 2*pi/nraf;
half_nraf = floor(nraf /2);
rectrotr = zeros(nraf, nlag);
rectroti = zeros(nraf, nlag);
for i = 0:(nlag-1)
rectrotr(1:half_nraf, i+1) = cos( (twopin*(0:(half_nraf-1)))*(outdelay - i/2.0) );
rectroti(1:half_nraf, i+1) = sin( (twopin*(0:(half_nraf-1)))*(outdelay - i/2.0) );
rectrotr((half_nraf + 1):nraf, i+1) = ...
cos( (twopin*(((half_nraf):(nraf - 1))-nraf))*(outdelay - i/2.0 ) );
rectroti((half_nraf + 1):nraf, i+1) = ...
sin( (twopin*(((half_nraf):(nraf - 1))-nraf))*(outdelay - i/2.0 ) );
end
|
|
Contact us at files@mathworks.com