Rotate Spherical Coordinates to find new Vector Magnitude
Show older comments
Dear Forum,
I am given a
,
,
. Does Matlab have a function to convert and find the
from a new
?
6 Comments
Ameer Hamza
on 28 Sep 2020
What is the link between these two points? If there is just rotation, then the magnitude will be the same, r2=r1.
Chad
on 28 Sep 2020
Chad
on 28 Sep 2020
James Tursa
on 28 Sep 2020
Spherical coordinates typically are restricted to have r >= 0. What application do you have where you think you need to allow negative r values?
Chad
on 28 Sep 2020
Ameer Hamza
on 29 Sep 2020
In case when r1=100, theta1=0, and phi1=0, and if by the negative value of r, you mean reversing the position vector, then in that case, you can say that r1=-100, theta1=180, and phi1=0 is equivalent to the first vector. But for any other value of theta and phi, you cannot get the same vector.
Accepted Answer
More Answers (0)
Categories
Find more on Programming 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!