patternCustom x axis(Az=0) always assumes first element of the array as x axis
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Sivakaran Vinayagamoorthy
am 11 Sep. 2024
Beantwortet: Aastha
am 19 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 Kommentare
Akzeptierte Antwort
Aastha
am 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 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Import, Export, and Visualization finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!