3D radiation pattern / array factor of planar array in cylindrical coordinates
Dear MatLab Central Community,
I would like to plot the 3D array factor of a planar (2D) antenna array in cylindrical coordinates.
I have calculated the array factor in spherical coordinates AF(theta, phi) and I can easily plot it in spherical coordinates (using
[x,y,z] = sph2cart(THETA,PHI,R)
for coordinate conversion and then "surf(x,y,z)" or "mesh(x,y,z)" for 3D plotting), but I do not know how to do that in cylindrical coordinates.
In other words, I want the domain of the 2D function on the xy plane to be a grid in RHO, THETA and for each point plot the Z = AF value.
I tried to use other coordinate transformations but I did not manage to do that.
Thank you very much for any help.Dear MatLab Central Community,
I would like to plot the 3D array factor of a planar (2D) antenna array in cylindrical coordinates.
I have calculated the array factor in spherical coordinates AF(theta, phi) and I can easily plot it in spherical coordinates (using
[x,y,z] = sph2cart(THETA,PHI,R)
for coordinate conversion and then "surf(x,y,z)" or "mesh(x,y,z)" for 3D plotting), but I do not know how to do that in cylindrical coordinates.
In other words, I want the domain of the 2D function on the xy plane to be a grid in RHO, THETA and for each point plot the Z = AF value.
I tried to use other coordinate transformations but I did not manage to do that.
Thank you very much for any help. Dear MatLab Central Community,
I would like to plot the 3D array factor of a planar (2D) antenna array in cylindrical coordinates.
I have calculated the array factor in spherical coordinates AF(theta, phi) and I can easily plot it in spherical coordinates (using
[x,y,z] = sph2cart(THETA,PHI,R)
for coordinate conversion and then "surf(x,y,z)" or "mesh(x,y,z)" for 3D plotting), but I do not know how to do that in cylindrical coordinates.
In other words, I want the domain of the 2D function on the xy plane to be a grid in RHO, THETA and for each point plot the Z = AF value.
I tried to use other coordinate transformations but I did not manage to do that.
Thank you very much for any help. radiation pattern, 3d plots, array factor, cylindrical coordinates, cylindrical, antenna array, antenna pattern MATLAB Answers — New Questions