Compute underwater sound transmission loss from range
Estimate Transmission Loss from Range
Find the transmission loss (in dB) for a sonar operating at 2 kHz in a channel that is 200 m deep. The sound path is 1000.0 m long.
rng = 1000.0; freq = 2000.0; depth = 200; tl = range2tl(rng,freq,depth)
tl = 50.1261
rng — Distance from sound source to receiver
Distance from sound source to receiver, specified as a positive scalar. Units are in meters.
freq — Frequency of sound
Frequency of sound, specified as a positive scalar. Units are in Hz.
depth — Channel depth
Channel depth, specified as a positive scalar. Units are in meters.
tl — Transmission loss
Transmission loss, returned as a positive scalar. Units are in dB.
The transmission loss model assumes that seawater salinity is 35 ppt, pH is 8, and temperature is 10°C.
The transmission loss model is valid for frequencies less than or equal to 2.0 MHz.
 Ainslie M. A. and J.G. McColm. "A simplified formula for viscous and chemical absorption in sea water." Journal of the Acoustical Society of America, Vol. 103, Number 3, 1998, pp. 1671--1672.
 Urick, Robert J. Principles of Underwater Sound, 3rd ed. Los Altos, CA:Peninsula Publishing, 1983.
C/C++ Code Generation
Generate C and C++ code using MATLAB® Coder™.
Usage notes and limitations:
Does not support variable-size inputs.
Introduced in R2017b