MATLAB: I can use “phased.Su​mDifferenc​eMonopulse​Tracker”to create a MonoPulse tracker, but how to plot the Sum or Difference beam

phase array monopulse simulationPhased Array System Toolbox

ha = phased.URA('Size',4);
hstv = phased.SteeringVector('SensorArray',ha);
hmp = phased.SumDifferenceMonopulseTracker2D('SensorArray',ha);
x = step(hstv,hmp.OperatingFrequency,[60.1; 19.5]).';
est_dir = step(hmp,x,[60; 20]);
*_ _I want to see the Sum or Difference beam,how to do?__*

Best Answer

The SumDifferenceMonopulseTracker only gives out the angle. It does not provide sum and difference result at this point. One way to get around it is to build it from an array. For example
pattern(ha,hmp.OperatingFrequency,-90:90,0,'Weights',ones(16,1));
plots the sum beam yet
pattern(ha,hmp.OperatingFrequency,-90:90,0,'Weights',[ones(8,1);-1*ones(8,1)]);
plots the difference beam.
HTH
Related Question