fnm_tsd_parfor()

Description: Calculates the transient pressure field from an arbitrary transducer array using the Fast Nearfield Method.

Usage

pressure = fnm_tsd_parfor(transducer_array, coordinate_grid, medium, time_struct,ndiv,\
excitation_function, disp_flag);

Arguments

Output Parameters

Notes

This function only calculates pressures in lossless media, so any attenuation parameter set by the user will be ignored.

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.