I was going through on how you convert from U\V corrdinate system to spherical system for antenna pattern radiation
in this webpage
, in "more about" section.
they defined , however based on what u and v defined shouldnt be the otherway around ? as , I think the function outputs correctly for , I just want to make sure that is this way in code if it is so , who sould I contact in Mathworks ?
side note :
How do I access the inner working of "phitheta2uvpat" function , I know how to relate u,v to theta phi
but how you rerange your matrix accordinglly "which represent intensity" that this function does ?
for example pattern(theta,phi) the very first entry in matrix correspond to u=0 , v=0 "because theta=0 ,phi=0"
in pattern(u,v) it is the center of matrix
how do I translate it in code ? I'm trying to write my custom code and couldn't figure out how to transform manually pattern(theta,phi) to pattern(u,v)