How to display DTM (.img) in Matlab

6 views (last 30 days)
MENGZHI DI
MENGZHI DI on 20 Oct 2018
Now I have a DTM, I read it in Matlab using the following code. And the data is a 301989888 x 1 matrix. I try to display it, but it is too big and my Matlab just break down each time. Could someone give me some advices about how to do this?
fid = fopen('DTM_MAP_02_N24E000N21E003SC.img');
data = fread(fid);
fclose(fid);

Answers (0)

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!