farfield_cw_parfor()

Description: Calculates the farfield pressure field generated by a transducer array.

Usage

pressure = farfield_cw_parfor(transducer_array, coordinate_grid, medium, ndiv,f0, disp_flag); 

Arguments

Output Parameters

Notes

This function uses the MATLAB Parallel Computing Toolkit to

perform the pressure calculation using multiple threads. The speed increase realized by this function is entirely dependent on the number of processor cores present in the computer executing the code. If the Parallel Computing Toolkit is not installed, the function will fail to run.