k-Wave Toolbox |

# speedSoundWater

Calculate the speed of sound in water with temperature

## Syntax

    c = speedSoundWater(T)

## Description

`speedSoundWater` calculates the speed of sound in distilled water at a given temperature using the 5th order polynomial given by Marczak (1997, Water as a standard in the measurements of speed of sound in liquids, J. Acoust. Soc. Am., 102, 2776-2779).

## Inputs

`T` | water temperature [degC]

## Outputs

`c` | speed of sound [m/s]

## See Also

`attenuationWater`

© 2009, 2010, 2011 Bradley Treeby and Ben Cox.