Problem 46548. Convert Cylindrical Cooridinates into Spherical Coordinate
For Cylindrical coordinate point, rho, fie (degrees) and z. Convert these points in Spherical Cooridinate System and save result into vector 'result'. Round your result upto 3 decimal places.
Generate an accurate function to evaulate any points of Cylindrical Coordinate System.
Solution Stats
Problem Comments
-
5 Comments
Show
2 older comments
Alfonso Nieto-Castanon
on 23 Aug 2020
please fix testsuite
goc3
on 8 Oct 2020
The test suite now takes the input variables, instead of x. It also tests against a tolerance now.
However, there is no reference solution and none of the legitimate attempts thus far pass the test case, so I hope that the updates function properly.
William
on 25 Aug 2021
The second output value seems to be wrong.
Dyuman Joshi
on 6 Mar 2022
Test suite has been fixed.
Rafael S.T. Vieira
on 6 Nov 2022
The author wants the radius and the two angles from the related spherical coordinate system but not the actual coordinates, despite the problem's description.
Solution Comments
Show commentsProblem Recent Solvers13
Suggested Problems
-
780 Solvers
-
Append two matrix as shown below example
225 Solvers
-
958 Solvers
-
1046 Solvers
-
258 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!