Somewhat off topic, but maybe someone here knows a "numerically inexpensive" way to do this:
I have (x,y,z) data - about 1.6 million points. (maybe more)
The (x,y) is somewhat regularly spaced already, but I want to resample this data so that the (x,y) values "snap" to a grid of my choosing. I don't mind interpolating the values where necessary, and I realize there are several methods to accomplish that.
What I want is a program that can input my original (x,y) data and output a reasonable approximation of that data snapped to what will ultimately be a lower density grid.
I thought about using Excel, but my version will not accept that many rows. Also, after rounding, I would probably still have some duplicates to get rid of... which sounds like a real hassle in Excel.
I'm sure this problem has been beat to death already. Will MatLab do it? I thought Surfer would do it, but I either forgot how, or it just can't do it.
Thanks.
-mpm