Code for paper: [https://ieeexplore.ieee.org/document/9023833] (Designing Digital Beamformer in Massive MIMO Systems Using Particle Swarm Optimization)
Applying Optimization algorithms in non-uniform rectangulat array:
Step 1: run create_matrix_Axy.m => to define the number of array as well as some matrix
Step 2: run create_Spatialfrequencyvector.m => to define AoAs.
Step 3: modify file calculate_{...}.m => to define input parameters of algorithm.