Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
assert(isequal(round(sphere_distance(100,10,50,-20,14)*10000)/10000,75.9097));
d =
75.9097
|
2 | Pass |
assert(isequal(round(sphere_distance(6371e3,-97.7430608,30.267153,-74.0244265,40.6081588)*10000)/10000,2426004.8394));
d =
2.4260e+06
|
3 | Pass |
assert(isequal(round(sphere_distance(6371e3,-97.7430608,31.267153,-74.0244265,40.6081588)*10000)/10000,2364307.7819));
d =
2.3643e+06
|
2486 Solvers
Flip the main diagonal of a matrix
506 Solvers
Convert from Base 10 to base 5
203 Solvers
965 Solvers
664 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!