data = exp_engel2021(flag)
exp_engel2021(flag) reproduces figures of the study from Engel et al. (2021).
'='fig1' spherical harmonics spectr 'fig1' spherical harmonics spectra '='fig2' mag/phase errors per spatial orde 'fig2' mag/phase errors per spatial order '='fig3' ITD/ILD per spatial orde 'fig3' ITD/ILD per spatial order '='fig4' mag/phase errors per metho 'fig4' mag/phase errors per method '='fig5' ITD/ILD per metho 'fig5' ITD/ILD per method '='fig6' loudness per directio 'fig6' loudness per direction '='fig7' models' outputs per spatial orde 'fig7' models' outputs per spatial order'''''''
This script will look for cached data of hnm and results obtained from running the 3 models baumgartner2021, jelfs2011, and reijniers2014.
If these are not found, the data will be generated from a set of HRTF.
WARNINGS: The HRTF data (hnm) is fairly large (~9GB) and may take several
minutes to generate. Most of it is not needed for the plots.To display Fig.1 of Engel(2021) use
exp_engel2021('fig1');
To display Fig.2 of Engel(2021) use
exp_engel2021('fig2');
To display Fig.3 of Engel(2021) use
exp_engel2021('fig3');
To display Fig.4 of Engel(2021) use
exp_engel2021('fig4');
To display Fig.5 of Engel(2021) use
exp_engel2021('fig5');
To display Fig.6 of Engel(2021) use
exp_engel2021('fig6');
To display Fig.7 of Engel(2021) use
exp_engel2021('fig7');
EXTERNAL DEPENDENCIES (you will need these in your Matlab path): BinauralSH (github.com/isaacengel/BinauralSH)