This repository contains the code implementation, the full-wave simulation model specifications, array excitation, and the additional discussion materials associated with the Communication: An Array Mainlobe Beamwidth Maximization Method with Desired Minimum Mainlobe Power Gain via Relaxation Optimization.
The MATLAB code for the proposed algorithm (Algorithm 1) is available in the folder /Supplementary_Materials/Code. To facilitate result reproduction, complete implementations of the proposed algorithm for its corresponding results in Fig. 4 and Fig. 6 of the manuscript are provided as examples.
Specifically, the files named Fig4_a.m Fig4_d.m and Fig6_a.m Fig6_d.m are main scripts that configure the algorithm's parameters and call the core function proposed_algorithm.m, which implements the proposed algorithm described in the manuscript. The MAT file aEphi_01degree.mat contains the active element pattern (AEP) for the full-wave simulations.
To reproduce the results in Fig. 4, place corresponding files Fig4_a.m Fig4_d.m and proposed_algorithm.m in the same directory and run the main script. For Fig. 6, all three types of files including Fig6_a.m Fig6_d.m, proposed_algorithm.m and aEphi_01degree.mat should be present in the same directory before execution.
The EM model with its relevant array configuration and the active element pattern (AEP) generated by the full-wave simulator for array elements are provided in the directory /Supplementary_Materials/EM_model.
The array excitation associated with figures and tables in the manuscript is provided in the directory /Supplementary_Materials/Array_excitation. The excitation is saved in individual Excel files, categorized by chart number and legend label. For example, the file in /Supplementary_Materials/Array_excitation/Fig.4/SBPS_11.xlsx records the array excitation of the algorithm
The supporting figures and tables for performance discussion of SLL, scanning capability, and scalability with multiple array sizes in Section IV-D of the manuscript are available in the directory /Supplementary_Materials/Additional discussion. A detailed analysis of these data and figures can be found in both the manuscript and the supplementary document, Additional discussion.pdf. For visual clarity, figures and tables are presented below:





