PO_matlab
|
Constructs the system matrix Zmn and target vector d for dipole-based sidelobe reduction in a dish antenna. More...
Functions | |
function | get_zmn_for_phi (in dish_analyzer, in EdB, in Etheta, in Ephi, in theta_range, in phi, in N, in rho_loc, in phi_locs, in freq) |
Constructs the system matrix Zmn and target vector d for dipole-based sidelobe reduction in a dish antenna.
This function computes the matrix of dipole contributions (Zmn) and the difference vector (d_vec) between the original field and a target field (typically zero outside the main lobe). It uses the provided DishAnalyzer to determine the beamwidth and builds a window (rectwin) to preserve the main lobe while attenuating sidelobes.
dish_analyzer | DishAnalyzer object containing dish geometry and analysis methods. |
EdB | Normalized far-field magnitude in dB (used for beamwidth calculation). |
Etheta | Complex E-theta component of the dish's far-field. |
Ephi | Complex E-phi component of the dish's far-field. |
theta_range | Array of theta sampling points [rad]. |
phi | Fixed azimuth angle [rad] for evaluating the 2D far-field pattern. |
N | Number of dipoles to place around the feed. |
rho_loc | Radial distance of dipoles from dish center [m]. |
phi_locs | Array of azimuthal dipole positions [rad]. |
freq | Operating frequency [Hz]. |
Zmn | Complex-valued system matrix of dipole field contributions (size 2M Ã N). |
d_vec | Desired modification vector (difference between target and current field values). |
rectwin | Rectangular window selecting main lobe region (for field preservation). |
This helper function is typically used in dipole excitation optimization (e.g., LSQR, fmincon). The dipole model used is SimpleDipole, oriented tangentially along azimuth.
function get_zmn_for_phi | ( | in | dish_analyzer, |
in | EdB, | ||
in | Etheta, | ||
in | Ephi, | ||
in | theta_range, | ||
in | phi, | ||
in | N, | ||
in | rho_loc, | ||
in | phi_locs, | ||
in | freq ) |