Documentation Center |
System object: phased.HeterogeneousConformalArray
Package: phased
Simulate received plane waves
Y = collectPlaneWave(H,X,ANG)
Y = collectPlaneWave(H,X,ANG,FREQ)
Y = collectPlaneWave(H,X,ANG,FREQ,C)
Y = collectPlaneWave(H,X,ANG) returns the received signals at the sensor array, H, when the input signals indicated by X arrive at the array from the directions specified in ANG.
Y = collectPlaneWave(H,X,ANG,FREQ) uses FREQ as the incoming signal's carrier frequency.
Y = collectPlaneWave(H,X,ANG,FREQ,C) uses C as the signal's propagation speed. C must be a scalar.
H |
Array object. |
X |
Incoming signals, specified as an M-column matrix. Each column of X represents an individual incoming signal. |
ANG |
Directions from which incoming signals arrive, in degrees. ANG can be either a 2-by-M matrix or a row vector of length M. If ANG is a 2-by-M matrix, each column specifies the direction of arrival of the corresponding signal in X. Each column of ANG is in the form [azimuth; elevation]. The azimuth angle must be between –180 and 180 degrees, inclusive. The elevation angle must be between –90 and 90 degrees, inclusive. If ANG is a row vector of length M, each entry in ANG specifies the azimuth angle. In this case, the corresponding elevation angle is assumed to be 0. |
FREQ |
Carrier frequency of signal in hertz. FREQ must be a scalar. Default: 3e8 |
C |
Propagation speed of signal in meters per second. Default: Speed of light |
Y |
Received signals. Y is an N-column matrix, where N is the number of elements in the array H. Each column of Y is the received signal at the corresponding array element, with all incoming signals combined. |
Simulate the received signal at an 8-element uniform circular array
The signals arrive from 10° and 30° azimuth. Both signals have an elevation angle of 0°. Assume the propagation speed is the speed of light.
sElement1 = phased.CosineAntennaElement('CosinePower',1.5); sElement2 = phased.CosineAntennaElement('CosinePower',1.8); N = 8; azang = (0:N-1)*360/N-180; sArray = phased.HeterogeneousConformalArray(... 'ElementPosition',... [cosd(azang);sind(azang);zeros(1,N)],... 'ElementNormal',[azang;zeros(1,N)],... 'ElementSet',{sElement1,sElement2},... 'ElementIndices',[1 1 1 1 2 2 2 2]); c = physconst('LightSpeed'); y = collectPlaneWave(sArray,randn(4,2),[10 30],c); disp(y(:,1:2));
0.3237 + 0.4890i 0.6039 + 0.0301i 0.6786 - 0.7586i -0.5528 + 1.0947i 1.8804 + 0.6692i 1.2940 + 1.4305i 2.4967 + 1.3510i 2.1896 + 1.6319i
collectPlaneWave modulates the input signal with a phase corresponding to the delay caused by the direction of arrival. The method does not account for the response of individual elements in the array.
For further details, see Van Trees [1].