File Exchange

image thumbnail

Loudness weighting coefficients

version (715 KB) by Christopher Hummersone
Calculate loudness weighting coefficients based on ISO 226


Updated 05 May 2018

GitHub view license on GitHub

NOTE: this function is now available from the IoSR Matlab Toolbox as iosr.auditory.loudWeight.
Calculate loudness weighting coefficients based on ISO 226
g = loud_weight(f)
g = loud_weight(f,phon)
G = LOUD_WEIGHT(F) returns loudness weighting
coefficients for frequencies F (Hz). The function is
based on the loudness at 65 phons defined in ISO

G = LOUD_WEIGHT(F,PHON) returns loudness weighting
coefficients at the loudness level PHON. PHON should be
a scalar and, according to the standard, is only valid
at all frequencies such that 20<=PHON<80 (although the
function will return SPL values outside of this range).

The input f may be an array of any size. The outputs
will be the same size as f, with coefficients calculated
for each element.

NB: since ISO 226:2003 only reports values up to 12.5
kHz, frequencies are limited to 12.5 kHz for the
purposes of calculating weighting coefficients.

Cite As

Christopher Hummersone (2020). Loudness weighting coefficients (, GitHub. Retrieved .

Comments and Ratings (0)


Migrated to GitHub.

Changed title.

MATLAB Release Compatibility
Created with R2015a
Compatible with any release
Platform Compatibility
Windows macOS Linux