MATLAB: Getting data values using lat and lon indexes

dimensions mismatchindexing

Hello,
I have 2 column vectors (latitude (2401,1) and longitude (2401,1) and 1 matrix (Cloud top temperature (2401×2401)) extracted from a netcdf file. I would like to know the matrix values corresponding to specific latitude and longitude points. How can I do this?
P.S: I want to do this for 20 netcdf files.
Thank you!

Best Answer

I'd use interp2
Related Question