fnm_cw_single()
Description: Computes the pressure from pistons under continuous wave excitation in homogeneous media using single precision floating point numbers.
Usage
pressure = fnm_cw_single(transducer_array, coordinate_grid, medium, ndiv, f0,disp_flag);
Arguments
- transducer_array A transducer.
- coordinate_grid A coordinate grid struct like the ones created by set_coordinate_grid.
- medium A medium struct like the ones created by set_medium.
- ndiv The number of integral points to use.
- f0 The frequency of the array.
- disp_flag Display flag, 1 = display, 0 = suppress.
Output Parameters
- pressure A 3-d array representing the complex pressure at each point
Notes
This function is currently only defined for rectangular transducers.