THE AUDITORY MODELING TOOLBOX

Applies to version: 0.10.0

View the code

Go to function

plot_lindemann1986 - Plots the binaural output pattern of the lindemann model

Usage

plot_lindemann1986(crosscorr,t,f,tstr);
plot_lindemann1986(crosscorr,t,f);
plot_lindemann1986(crosscorr,t,tstr);
plot_lindemann1986(crosscorr,t);

Input parameters

crosscorr cross-correlation matrix, output from the lindemann function
t time vector of the analysed stimuli (used for t axis)

plot_lindemann1986(crosscorr,t) plots the cross-correlation output from the lindemann function as a so called binaural activity map. This means the correlation value is plotted depending on time of the stimulus and the correlation-time delay. t is the time axis of the plot. f determines the frequency channel to plot by using the channel in which the frequency f belongs.

If crosscorr has more than one time step a 3D activity map is plotted, else a 2D plot of the cross-correlation is done.

The function takes the following flags at the end of the line of input arguments:

'fc',fc plot only the frequency channel with its center frequency is nearest to the frequency f. The default value of [] means to plot the mean about all frequency channels
'title',t display t as the title overriding the default.

You may also supply the parameters in the input arguments in the following order: plot_lindemann1986(crosscorr,t,fc)