When I TRIED TO RUN THE FIRST sample CODE OF CVX,Minimize beamwidth of an array with arbitrary 2-D geometry (ant_array_min_beamwidth.m),RUNNING a ONE-DIMENSIONAL LINEAR ARRAY, the code reported no error, but no result, does anyone know what happened?tips:I just change ARRAY_GEOMETRY
It ran successfully for me. If you want to see what happened, with CVX and the solver, remove quiet from the two instances of cvx_begin quiet
Show us the exact (CVX) error message. If you made changes to the code, show us exactly what you ran? Does it run without error when you run the code without any changes?
There is a bug in the example. Try to reduce the theta range to [1:180]. It happens because for the 1D case the function has 2 maximums and CVX fails to minimize one of them as a sidelobe. You can also make it works by posing additional target constraints for the second maximum and excluding it from sidelobes.