Comparing the results from two different datasets

I am comparing the results obtained from two different datasets- However Data1 is of the size of 119*177 size corresponding to the lat1/long1 file
Data2 is of the size 361*361 and is associated with a different lat/long file. I want to have them in a common lat/long frame. which MATLAB function i can use??
Any suggestions/help is appreciated.

Answers (1)

You can do interpolation and get the dimensions of data sets to same size. doc interp2.

8 Comments

Sophia
Sophia on 17 Nov 2016
Edited: Sophia on 17 Nov 2016
I did that already, but i am more concerned about having the same coordinate system
lat and lon for both the data sets are different?
Sophia
Sophia on 17 Nov 2016
Edited: Sophia on 17 Nov 2016
Yes, lat/lon files for both dataset are different. And i am trying to find out the way that i can use a common lat/lon file and can see the difference in the results obtained from both datasets.
If they are different how you expect them to get to same coordinates? Is one dataset sub set to other? Any intersection? Or they are completely exclusive?
One is subset of the other
Then what is the problem? It is easy. Use same resolution for both the data sets and do interpolation.
any suggestions- how to do that?
Get the resolution of both the grids. Choose the minimum one, get the other grid to this resolution and do interpolation.

Sign in to comment.

Categories

Find more on Interpolation in Help Center and File Exchange

Asked:

on 16 Nov 2016

Commented:

on 25 Nov 2016

Community Treasure Hunt

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

Start Hunting!