Effacer les filtres
Effacer les filtres

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

81 vues (au cours des 30 derniers jours)
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?

Réponse acceptée

Aastha
Aastha le 19 Sep 2024 à 5:05
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!

Plus de réponses (0)

Catégories

En savoir plus sur Import, Export, and Visualization dans Help Center et File Exchange

Produits


Version

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by