Comparerect.m
The comparerect example compares the results of the fnmrect and rayleighrect functions. In order to run this example both the FNMrect and rayleighrect examples must be run first. The results from running the comparerect 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 FNMrect and rayleighrect functions.

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

Figure 3: Comparison of the normalized error with the computation time for the FNMrect and rayleighrect functions.