Interpolating large datasets
4 views (last 30 days)
Show older comments
Dear Matlab Central,
I want to interpolate a very large evenly gridded data set (in this case 14000x12000 points) onto a lower res dataset, like 1400x1200 or even lower. As you might expect Matlab can't do this easily. Even if I turn a script on and then go home and return the next day, it has not finished :P (I use griddata)
Does anybody know of a way to speed this up, or to split the dataset up into small parts that are than evaluated one by one? I tried this latter way (splitting it up into seperate grids of 2000x2000 and interpolating this on 200x200 grids) but feel that there will be problems at the boundaries of these interpolations.
It is quite a simple data set. It only consists of 0s and 1s (it's a mask) so I'd presume it should be possible to do this large yet rather simple interpolation :(
Can anybody help me? Thanks in advance.
As said I now use griddata together with meshgrid to do this.
1 Comment
Answers (1)
See Also
Categories
Find more on Interpolation 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!