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

1 次查看(过去 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