griddata (averaging instead of interpolation)
Show older comments
I have many raw data points of a pipe surface that i scanned with a 3D scanner. the amount of points is about 4 times as much as my intended grid points. I would like to average the data (about a small cell) at a every specific grid point (to lessen the scanner noise), instead of using matlab 'linear' 'cubic' or 'nearest neighbor'.
How can i do so, is there better function than griddata that i can use?
thank you
Accepted Answer
More Answers (3)
John D'Errico
on 16 Feb 2011
0 votes
No, this will not explicitly average your data points in each bin. It does better than that.
Thuan Le
on 16 Feb 2011
0 votes
Thuan Le
on 17 Feb 2011
0 votes
4 Comments
Bruno Luong
on 17 Feb 2011
Please explain the "small cell". Is it a cell from prescribed 3D grid or something else?
Thuan Le
on 18 Feb 2011
John D'Errico
on 18 Feb 2011
You CAN control the amount of smoothing using gridfit. All you have shown is that you did not read the help.
Thuan Le
on 18 Feb 2011
Categories
Find more on Surface and Mesh Plots 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!