Cartesian points to solar coordinates
显示 更早的评论
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.

回答(1 个)
KALYAN ACHARJYA
2019-2-3
编辑:KALYAN ACHARJYA
2019-2-3
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
类别
在 帮助中心 和 File Exchange 中查找有关 2-D and 3-D Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
