patternCustom x axis(Az=0) always assumes first element of the array as x axis
5 views (last 30 days)
Show older comments
Sivakaran Vinayagamoorthy
on 11 Sep 2024
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?
0 Comments
Accepted Answer
Aastha
on 19 Sep 2024
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 Comments
More Answers (0)
See Also
Categories
Find more on Import, Export, and Visualization in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!