MATLAB: Change of spherical coordinates to rectangular
3d plots
I want to plot the following function: R = Seno(θ)*Cos(Φ) ;;; θ rotates with respect to the Y axis from 0 ° to 180 ° and Φ rotates with respect to X from 0 ° to 360 °
Why do you think your array needs to be square? Mesh, surf, etc. will accept any gridded data. Assuming your A values represent the radius at any given theta and phi:
Best Answer