How can I interpolate a screw surface?
2 views (last 30 days)
Show older comments
I created a screw surface, as shown in the figure and I would like to interpolate this surface and evaluate it in a finer mesh.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/387288/image.jpeg)
I tried with griddata or interp2, but non of them work for me.
I would greatly thank any advice or help that you could provide me in order to achive my objective.
I can also pass you if required the X,Y,Z values of the screw surface which I want to interpolate.
0 Comments
Answers (1)
John D'Errico
on 21 Oct 2020
Edited: John D'Errico
on 21 Oct 2020
Is this a single valued function of x and y? Or x and z, y and z? No.
Is this a function over some contiguous convex region in some plane, thus of any two of those variables?
None of the above. So you cannot interpolate it using interp2. You cannot interpolate using griddata. You cannot use scatteredInterpolant.
However, you would have created it is using a parametric form, probably as a function of r and theta. You would create z as a function of r and theta, then compute x and y coordintes the same way. If you want to interpolate it, then you need to interpolate as a function of THOSE variables.
3 Comments
John D'Errico
on 21 Oct 2020
Yes. interpolate it in a domain where it is appropriate to use interpolation. Only then do you convert it to cartesian coordinates..
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!