asa_run()

This function is deprecated and should not be used. It has been replaced by cw_angular_spectrum.

Description: Identical to asa_call but with more error checking and some sanity checking to ensure a proper calculation will occur.

Usage

Pressure = asa_run('source', p0, 'z0', z0, 'z', z, 'medium', medium, 'nfft', nfft, 'delta', delta, 'type',\
type, 'f0', f0);
Pressure = asa_run(); 

Arguments

Output Parameters

Notes

This function is called by passing an argument name then the argument value. For example, passing argument delta with a value of 1e-5 would look like asa_run(...,'delta',1e-5,...). This function requires at least the source plane passed. Any missing arguments will cause the program to use the default values or prompt the user for the values to use.

Calling this function with no arguments will cause the program to prompt the user for each required value.