Make image from csv files

27 views (last 30 days)
Elijah Shepherd
Elijah Shepherd on 6 Apr 2020
Answered: KALYAN ACHARJYA on 6 Apr 2020
I'm trying to use 3 csv files (attached) to display an image. The very large file contains depths where the rows correspond to the longitudes in the longitude file, and the columns correspond to the latitudes in the latitude file. I really don't understand how to make an image out of this.
I also need to find the deepest point.
I've imported the files as follows:
depth = importdata('mariana_depth.csv')
long = importdata('mariana_longitude.csv')
lat = importdata('mariana_latitude.csv')

Answers (1)

KALYAN ACHARJYA
KALYAN ACHARJYA on 6 Apr 2020
Example :
lat = importdata('mariana_latitude.csv')
imshow(lat,[]);

Categories

Find more on Read, Write, and Modify Image 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!