Download MATLAB MAPPING TOOLBOX RELEASE NOTES User`s guide
Transcript
Interpretation of “Miles” Units has Changed As of R2007b, the following functions interpret distance units specified as 'miles' as International Miles, not Statute Miles: • almanac • daspectm • elevation • mapprofile • paperscale • scaleruler Compatibility Considerations This will not materially affect the accuracy of results in most cases; the lengths of the two types of miles only differ by about two parts per million (three millimeters). The distdim function's interpretation of miles has not changed. However, there are better alternatives to it; see the release note “Alternatives to the distdim Function” on page 16-4. New Angle Wrapping Functions Four new low-level functions have been added that force longitudes, azimuths, or phase angles to span intervals of [0 360] or [-180 180] degrees or [0 2*pi] or [-pi pi] radians. • wrapTo180 — Wrap angle in degrees to [-180 180] • wrapTo360 — Wrap angle in degrees to [0 360] • wrapToPi — Wrap angle in radians to [-pi pi] • wrapTo2Pi — Wrap angle in radians to [0 2*pi] The first two functions work in degrees, the next two in radians. None of them perform argument checking. You can use the new wrapping and functions in place of npi2pi and zero22pi for greater efficiency. The older functions will eventually be removed from the toolbox. 16-5