Comparesphericalshell.m

The comparesphericalshell example compares the results of the FNMsphericalshell and rayleighshpericalshell functions. In order to run this example both the FNMsphericalshell and rayleighshpericalshell examples must be run first. The results from running the comparesphericalshell example are present in the three following figures.

Figure 1: Comparison of the computation time with the number of abscissas used during the calculation for the FNMsphericalshell and rayleighshpericalshell functions.

Figure 2: Comparison of the normalized error with the number of abscissas used during the calculation for the FNMsphericalshell and rayleighshpericalshell functions.

Figure 3: Comparison of the normalized error with the computation time for the FNMsphericalshell and rayleighshpericalshell functions.