- The function “estimateADF” takes the horizontal and vertical beam widths along with the front-back ratio as inputs. It creates a structure with these parameters and generates field patterns using a Gaussian model. The data is then saved as an ADF file.
- The function plotADF reads the ADF file and visualizes the horizontal and vertical field patterns.
- Type the below command in the MATLAB Command Window to run the program: