Y = step(H,X)
Y = step(H,X,XT)
Y = step(H,X,ANG)
Y = step(H,X,XT,ANG)
[Y,W] =
step(___)
performs
MVDR beamforming on the input, Y
= step(H
,X
)X
, and returns
the beamformed output in Y
. This syntax uses X
as
the training samples to calculate the beamforming weights.
uses Y
= step(H
,X
,XT
)XT
as
the training samples to calculate the beamforming weights. This syntax
is available when you set the TrainingInputPort
property
to true
.
uses Y
= step(H
,X
,ANG
)ANG
as
the beamforming direction. This syntax is available when you set the DirectionSource
property
to 'Input port'
.
combines
all input arguments. This syntax is available when you set the Y
= step(H
,X
,XT
,ANG
)TrainingInputPort
property
to true
and set the DirectionSource
property
to 'Input port'
.
[
returns the beamforming weights, Y
,W
] =
step(___)W
.
This syntax is available when you set the WeightsOutputPort
property
to true
.
Note:
The object performs an initialization the first time the 

Beamformer object. 

Input signal, specified as an MbyN matrix.
If the sensor array contains subarrays, N is the
number of subarrays; otherwise, N is the number
of elements. If you set the 

Training samples, specified as a PbyN matrix. If the sensor array contains subarrays, N is the number of subarrays; otherwise, N is the number of elements. P must be larger than N. 

Beamforming directions, specified as a tworow matrix. Each column has the form [AzimuthAngle; ElevationAngle], in degrees. Each azimuth angle must be between –180 and 180 degrees, and each elevation angle must be between –90 and 90 degrees. 

Beamformed output. 

Beamforming weights. 
Apply an MVDR beamformer to a 5element ULA. The incident angle of the signal is 45 degrees in azimuth and 0 degree in elevation.
% Signal simulation t = (0:1000)'; x = sin(2*pi*0.01*t); c = 3e8; Fc = 3e8; incidentAngle = [45; 0]; ha = phased.ULA('NumElements',5); x = collectPlaneWave(ha,x,incidentAngle,Fc,c); noise = 0.1*(randn(size(x)) + 1j*randn(size(x))); rx = x+noise; % Beamforming hbf = phased.MVDRBeamformer('SensorArray',ha,... 'PropagationSpeed',c,'OperatingFrequency',Fc,... 'Direction',incidentAngle,'WeightsOutputPort',true); [y,w] = step(hbf,rx);