This is concerning the phased.ura documentation and row - Y vs col - Z

조회 수: 5 (최근 30일)
I found this in the documentation and of course used it...:
******
phased.URA/Size
Size Array size
Specify the size of the array as a 1x2 integer vector or an
integer. If Size is a 1x2 vector, it is in the form of
[NumberOfRows NumberOfColumns] where rows are along y-axis and
columns are along z-axis. If Size is a scalar, the array has
the same number of elements along both axes. The default value
of this property is [2 2].
Property Details
Constant false
Dependent false
Sealed false
Transient false
GetAccess public
SetAccess public
GetObservable false
SetObservable false
********
But when I use "viewArray" the results see to be the opposite? I think the rows are along the Z axis and the columns are along the Y axis? I think I have included enough code to test my hypothesis. You can also reference this: https://www.mathworks.com/help/phased/ref/phased.ura-class.html
% Uniform rectangular array
h = phased.URA;
h.Lattice = 'Triangular'; % This is the subarray element structure
% Create the subarray, element spacing
percentWavLengZ = 0.4761;
percentWavLengY = 0.3926;
% h.ElementSpacing = [0.0408163265306122 0.0408163265306122];
h.ElementSpacing = [lambda.*percentWavLengY lambda.*percentWavLengZ];
% Size Array size in doc under phased.URA/Size
% Specify the size of the array as a 1x2 integer vector or an
% integer. If Size is a 1x2 vector, it is in the form of
% [NumberOfRows NumberOfColumns] where rows are along y-axis and
% columns are along z-axis. If Size is a scalar, the array has
% the same number of elements along both axes. The default value
% of this property is [2 2].
h.Size = [32 16]; % Y-rows, Z-cols, this is the subarray size
% The element is just a cosine element with a exp rolloff
h.Element = phased.CosineAntennaElement('CosinePower',[2 2]);
subArrayDiag = figure;
spacingString = ['spaced at ' num2str(percentWavLengY) ' \lambda,'...
num2str(percentWavLengZ) ' \lambda'];
sizeString = [' with ' num2str(h.Size(1)) ' Rows-Y,'...
num2str(h.Size(2)) ' Cols-Z '];
title_strViewArray = [sizeString spacingString];
viewArray(h,'ShowNormals', true,'Title',title_strViewArray);

채택된 답변

Honglei Chen
Honglei Chen 2016년 12월 7일
I think the figure is correct as it shows 32 rows and 16 columns. When the document says the rows are along y axis, it means the rows are parallel to y axis. If you look at the lower left corner of the plot, you can see the directions for y and z.
HTH
  댓글 수: 1
mike susedik
mike susedik 2016년 12월 7일
ok, so the line of radiators in the row will be parallel to the y axis.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Array Geometries and Analysis에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by