imat_fn/acoustic_weighting


Purpose

Apply acoustic weighting.

Syntax

g=acoustic_weighting(f,'A')
g=acoustic_weighting(f,'C')

Description

ACOUSTIC_WEIGHTING applies the specified acoustic weighting to the PSD, Auto Spectrum, Cross Spectrum, or Spectrum functions in the imat_fn F. WEIGHT can be either 'A' or 'C' weighting.

The abscissa data type must be frequency. The ordinate numerator data type must be either pressure or sound pressure. The normalization and ordinate numerator type qualifier attributes must be consistent. That is, if the normalization is one of the units squared values, then the type qualifier must be translation squared. The weighting type must be none, otherwise another weighting will not be applied.

ACOUSTIC_WEIGHTING will also add an acoustic weighting in dB to the "SPL" functions created by SPL.

See Also

imat_fn/spl