Home > slabtools > Map2map.m

Map2map

PURPOSE ^

MAP2MAP - resample hrtf data to new grid.

SYNOPSIS ^

function dataOut = map2map(mapIn, dataIn, mapOut);

DESCRIPTION ^

 MAP2MAP - resample hrtf data to new grid.

 DATAOUT = map2map(MAPIN, DATAIN, MAPOUT) resamples DATAIN measured on the
 grid MAPIN to the new grid MAPOUT.  Each column of MAPIN specifies the
 direction associated with the corresponding column of DATAIN.  Similarly,
 DATAOUT contains the set of desired output directions.  The first rows of
 MAPIN and MAPOUT specify elevation above the horizontal plane, measured
 in degrees; the second rows specify azimuth in the horizontal plane, with
 zero degrees being in front of the subject, and 90 degrees being to the
 right of the subject.

 Note!
 If a given map direction appears more than once, the output can be corrupted
 (e.g. contain Inf's and NaN's).  If this occurs, you should see the MATLAB
 warning: "Warning: Matrix is singular to working precision."

 See slab_sua.rtf regarding intellectual property restrictions.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 20-Nov-2009 18:52:57 by m2html © 2003