Hi! How to fix plane position as a 0 degree angle for Phi azimuth angle or how Matlab understand where Phi angle should be drawn?
3 次查看(过去 30 天)
显示 更早的评论
I have two angles Theta =60 (polar angle which is <=pi) and Phi = 0 ( which is between 0 and 2pi)
I converted spherical coordinates to cartesian and need to draw vector using one point (1.5; 1.5; 3.0) and two angles.
I also use phi =0 to check if my vector correct. Because if phi=0 then my vector will be strict such as on surface of my box. I dont know how to fix one poisition plane as the start point for Phi angle ( where 0 degree of angles will start). My fixed plane position for the begin of Phi angle will be (0,0,3 0,3,3 0,0,0 0,3,0)
something like this but I dont have ro
0 个评论
采纳的回答
Catalytic
2022-11-29
A = 3.67 * sin(Phi0) * cos(Theta0);
B = 3.67 * sin(Phi0) * sin(Theta0);
C = 3.67 * cos(Phi0);
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!