SDR_al/Matlab/helperSimulateNull.m

8 lines
370 B
Matlab

function pattern = helperSimulateNull(fc_hb100,steerangles,nullangle)
% Simulate the pattern with a null at the specified angle
analogweights = ones(4,2);
digitalweights = ones(2,1);
rxpos = [0;0;0];
txpos = [0;10;0];
[pattern,~] = helperSimulateAntennaSteering(fc_hb100,rxpos,txpos,steerangles,analogweights,digitalweights,nullangle);
end