impulse_response_parfor()

Description: Calculates the impulse response of a transducer array.

Usage

ir = impulse_response_parfor(xdcr_array, coord_grid, medium, time_samples, 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 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.