Rayleighrect.m | Examples | Documentation | FOCUS (original) (raw)

Script to evaluate the times and errors as in the FNM rectangle paper found in the publications section, but using the Rayleigh Sommerfeld approach. The example begins by creating a transducer and creating a data structure that defines the attenuation value. The computation grid is then defined. The pressure field is then generated followed by the evaluation the times and errors as a function of the number of abscissas. Four figures are generated and are found below.

Figure 1: Plot of the pressure field produced by the Rayleighrect method.

Figure 2: Plot of time vs. the number of abscissas used in the calculation made by the Rayleighrect method.

Figure 3: Plot of normalized error vs. the number of abscissas used in the calculation made by the Rayleighrect method.

Figure 4: Plot of the normalized error vs. the computation time for the Reyleighrect method.