set_parameters()
This function is deprecated and should not be used. It has been replaced by set_medium.
Description: Create a parameter struct for use with FNM functions.
Usage
params = set_parameters('c_sound', c_sound, 'atten_coeff', atten_coeff, 'rho_density', rho, 'f0', f0,\
'fs', fs);
Arguments
- c_sound The speed of sound in m/s
- atten_coeff The attenuation coefficient in dB/cm/MHz
- rho The density of the medium in kg/meter3
- f0 The frequemcy of the transducer array in Hz
- fs The sampling frequency in Hz
Output Parameters
- params A parameter struct.
Notes
Calling this function with no arguments will cause the program to
prompt the user for each required value.

