patternCustom x axis(Az=0) always assumes first element of the array as x axis

조회 수: 5 (최근 30일)
I have a antenna pattern array x=table(gain,theta,phi)
Rotated this array along z axis by adding phi=phi+90
Resultant patternCustom plot gives same figure. When I sort the table ascending with phi I can see expected rotated plot. Is this expected?

채택된 답변

Aastha
Aastha 2024년 9월 19일
Yes, this is expected. Phi needs to be sorted because the values of phi should be in ascending order.
Initially, phi is defined from 0 to 360 degrees and on rotation by 90 degree, the initial value changes but it also introduces a zero value for some of the elements because of the rotation. Hence, the values of phi need to be sorted in ascending order, so that they match correct values of gain and theta.
If the values of phi are between 90 to 180 degrees, rotating it by 90 degrees would make the values of phi to be between 180 to 270 degrees and that would still work albeit you apply the same effect on the gain and theta for correct results.
I hope this makes your understanding better!

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Import, Export, and Visualization에 대해 자세히 알아보기

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by