Dan, could you provide some more specifics here? Altitude in meters, feet, or furlongs? Against what reference? Number of significant digits you expect? Latitude and longitude are in decimal degrees? An example would also help.
Thank you for suggestions
I like test #7. Although doing it the "right" way, I seem to get decimal precision on the negative values which caused it to fail the test suite.
Fixed tests with negative values and rescored solutions!
the expected level of precision of the responses seems a bit unreasonable (<1 nanometer?), perhaps you could allow +-1% error in the returned altitude responses?
Modified tolerance of the answers.
Matrix indexing with two vectors of indices
Rotate a Matrix
Equal to their cube
Determine the square root
Derivative of polynomial
Find the treasures in MATLAB Central and discover how the community can help you!
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office