THE AUDITORY MODELING TOOLBOX

Applies to version: 1.1.0

View the code

Go to function

may2011_interpolateparabolic - Multi-channel parabolic interpolation

Usage

[DELTA,MAXVAL] = may2011_interpolateparabolic(R,MAXIDX);

Input parameters

R detection function [nSamples x nChan]
MAXIDX initial maximum estimate (maximum argument(index) of R).

Output parameters

DELTA fractional part of maximum index [nIdx x 1] | [nChan x 1]
RHAT amplitude of estimated maximum [nIdx x 1] | [nChan x 1]

Description

In case R is single channel data, interpolation can be performed at multiple indices -> MAXIDX [nIdx x 1]. Otherwise, if nChannels > 1, interpolation is performed at one index per channel. So the dimension of MAXIDX must correspond to the number of channels in R -> MAXIDX [nChan x 1]

Developed with Matlab 7.4.0.287 (R2007a).