find_multiple_focus_phase()

Description: Calculates phase shifts to focus a transducer array at the given points.

Usage

transducer = find_multiple_focus_phase(transducer, x, y, z, medium, f0);
transducer = find_multiple_focus_phase(transducer, x, y, z, medium, f0, ndiv);
transducer = find_multiple_focus_phase(transducer, x, y, z, medium, f0, ndiv,linear_array); 

Arguments

Output Parameters

Notes

This function alters the transducer struct, the output transducer

should be the same as the input transducer. The logic is that if all elements have a complex_weight of 0 at the target point, the intensity at that point is the highest. Each focus is defined such that focus(i) = [ x(i) y(i) z(i) ].