Cartesian points to solar coordinates
Show older comments
I want to define a small plane in which 'x' changes from (0.5 to 49.5), 'y' changes from (0 to 4.8) and 'z' changes from lets say (2.5 to 4.4). Its like a small piece of a pitched roof placed at an angle of about 22 degrees. I want to get the Cartesian points (x,y,z) of each point in this plane to use them later in some formula to get its solar coordinates. Lets just say that I want to get the coordinates of one solar panel (black region) in the given figure.

Answers (1)
KALYAN ACHARJYA
on 3 Feb 2019
Edited: KALYAN ACHARJYA
on 3 Feb 2019
What I have undestood from your question is- you have the x,y,z points for a plane.
Is there any issue to use
[theta,rho,z]=cart2pol(x,y,z)
for complete set of data.
You will get the sets of theta, rho and z data of polar plane.
Read hereRead here
1 Comment
rehan younas
on 3 Feb 2019
Categories
Find more on 2-D and 3-D Plots 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!