dted_read
[Z, LAT, LON] = DTED_READ(FILENAME) returns elevation data (Z) in the specified DTED file as a regular data grid with elevations in meters. LAT and LON provide 1D arrays with latitudes and longitudes (in degrees) corresponding to columns and rows of the elevation grid.
DTED files usually follow specific filename and directory name format ending with for example with "\e003\n15.dt0". If file is in the proper format than additional verifications are performed to ensure correctness.
[Z, LAT, LON, HEADER] = DTED_READ(FILENAME) also returns HEADER struct with metadata fields extracted from the header. Only minimal amount of metadata is read.
Cite As
Jaroslaw Tuszynski (2024). dted_read (https://www.mathworks.com/matlabcentral/fileexchange/50076-dted_read), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Mathematics and Optimization > Mapping Toolbox > Data Import and Export >
- Radar > Mapping Toolbox > Data Import and Export >
Tags
Acknowledgements
Inspired by: Read DTED elevation data
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |