Interpolation of 3D point data
Show older comments
Hello, I have a nx5 matrix where column 3, 4 and 5 are x,y,z 3D points respectively. I was wondering how I would interpolate (smooth) this 3D data. Many thanks
4 Comments
Stephen23
on 19 Apr 2016
Do you want to interpolate, or to smooth the data? These are two quite different operations.
shellmcg
on 20 Apr 2016
Walter Roberson
on 20 Apr 2016
What properties does the curve need to have? Are you looking for a spline fit? A pchip fit?
shellmcg
on 20 Apr 2016
Accepted Answer
More Answers (2)
Walter Roberson
on 20 Apr 2016
0 votes
It looks to me as if you likely want a scattered interpolant.
shellmcg
on 28 Apr 2016
1 Comment
John D'Errico
on 28 Apr 2016
Edited: John D'Errico
on 29 Apr 2016
I'm sorry, but this answer is just a poor way of solving the problem, presuming the points are somehow equally spaced. Use of a spline as was done here can cause some strange artifacts.
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!