I am a rookie in K-Wave. Pretty confused by the definition and formula of wavenumber component vector:

To my understand, wavenumber is defined as the number of radians per unit distance: 2*pi/WaveLength. However, in the kWaveGrid.m, kx_vec = (2*pi/dx) .* nx, where dx is the grid size, nx is an array from -0.5 to +0.5. How is the output kx_vec relate to the number of radians per unit distance?

Appreciate if anyone can provide a general explanation to this point or provide some reading materials. Thanks so much