set_phases()
Description: This function is used to apodize transducer arrays by setting the amplitudes of the individual transducers.
Usage
transducer = set_phases(transducer, phases);
Arguments
- transducer A FOCUS transducer array.
- phases A vector the same size as the transducer array containing the phase to be used for each element in the array, e.g. [0 π/2 π π/2 0] for a five-element array.
Output Parameters
- transducer The transducer struct with the new phase values.

