phased.PhaseShiftBeamformer System object

Package: phased

Narrowband phase shift beamformer


The PhaseShiftBeamformer object implements a phase shift beamformer.

To compute the beamformed signal:

  1. Define and set up your phase shift beamformer. See Construction.

  2. Call step to perform the beamforming operation according to the properties of phased.PhaseShiftBeamformer. The behavior of step is specific to each object in the toolbox.


H = phased.PhaseShiftBeamformer creates a conventional phase shift beamformer System object™, H. The object performs phase shift beamforming on the received signal.

H = phased.PhaseShiftBeamformer(Name,Value) creates a phase shift beamformer object, H, with each specified property Name set to the specified Value. You can specify additional name-value pair arguments in any order as (Name1,Value1,...,NameN,ValueN).



Sensor array

Sensor array specified as an array System object belonging to the phased package. A sensor array can contain subarrays.

Default: phased.ULA with default property values


Signal propagation speed

Specify the propagation speed of the signal, in meters per second, as a positive scalar.

Default: Speed of light


System operating frequency

Specify the operating frequency of the beamformer in hertz as a scalar. The default value of this property corresponds to 300 MHz.

Default: 3e8


Source of beamforming direction

Specify whether the beamforming direction for the beamformer comes from the Direction property of this object or from an input argument in step. Values of this property are:

'Property'The Direction property of this object specifies the beamforming direction.
'Input port'An input argument in each invocation of step specifies the beamforming direction.

Default: 'Property'


Beamforming directions

Specify the beamforming directions of the beamformer as a two-row matrix. Each column of the matrix 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. This property applies when you set the DirectionSource property to 'Property'.

Default: [0; 0]


Approach for normalizing beamformer weights

If you set this property value to 'Distortionless', the gain toward the beamforming direction is 0 dB. If you set this property value to 'Preserve power', the norm of the weights is 1.

Default: 'Distortionless'


Output beamforming weights

To obtain the weights used in the beamformer, set this property to true and use the corresponding output argument when invoking step. If you do not want to obtain the weights, set this property to false.

Default: false


cloneCreate phase shift beamformer object with same property values
getNumInputsNumber of expected inputs to step method
getNumOutputsNumber of outputs from step method
isLockedLocked status for input attributes and nontunable properties
releaseAllow property value and input characteristics changes
stepPerform phase shift beamforming


Apply phase shift beamforming to the signal received by a 5-element ULA. The beamforming direction is 45 degrees azimuth and 0 degrees elevation.

% Simulate signal
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.PhaseShiftBeamformer('SensorArray',ha,...
[y,w] = step(hbf,rx);

% Plot signals
xlabel('Time'); ylabel('Amplitude');

% Plot response pattern


The phase shift beamformer uses the conventional delay-and-sum beamforming algorithm. The beamformer assumes the signal is narrowband, so a phase shift can approximate the required delay. The beamformer preserves the incoming signal power.

For further details, see [1].


[1] Van Trees, H. Optimum Array Processing. New York: Wiley-Interscience, 2002.

Was this topic helpful?