Match different dataset resolutions

3 views (last 30 days)
Ioanna Thoma
Ioanna Thoma on 26 Jun 2019
Commented: Ioanna Thoma on 26 Jun 2019
I have 2 datasets with different resolutions A=[115x74], B=[213x137]. I want o compare them so how can I change the resolution so that they match? I tried interp2 but its not working
  2 Comments
Adam
Adam on 26 Jun 2019
Use interp2 correctly.
If you don't tell us any more than 'its not working' there's not a lot to say. show how you call it and what aspect is 'not working'. Is it an error? Is it the wrong answer? Something else?
Ioanna Thoma
Ioanna Thoma on 26 Jun 2019
Vq = interp2(LonListSub,LatListSub,SSTSub,Longitude,Latitude);
Where LonListSub,LatListSub=coordinates of the dataset with the higher resolution
Where Longitude,Latitude=coordinates of dataset H
SSTSub,H: temperature values matrices

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!