THE AUDITORY MODELING TOOLBOX

Applies to version: 1.6.0

View the code

Go to function

PLOT_ZIEGELWANGER2014
Plot time-of-arrival

Usage:

plot_ziegelwanger2014(Obj,data,type,color,ele,ch,time,style,width)

Input parameters:

Obj SOFA object
data Input data
type Plot type
color Line color
ele Elevation [deg]
ch Channel Index
time Flag (1...time vector [ms] 0...[samples])
style Linestyle
width Linewidth

Output parameters:

h figure handle

Description:

plot_ziegelwanger2014(Obj,data,type,color,ele,ch,time,style,width) plots TOA-data in horizontal planes. Estimates the Time-of-Arrival for each column in input data hM and corrects the results with a geometrical model of the head.

Examples:

To plot the modelled TOA in the horizontal plane after using ziegelwanger2014, use:

plot_ziegelwanger2014((Obj,Obj.Data.Delay,1,'b',0,1,1);

References:

H. Ziegelwanger and P. Majdak. Modeling the direction-continuous time-of-arrival in head-related transfer functions. The Journal of the Acoustical Society of America, 135:1278--1293, 2014.