Plot the offset surface

I need to plot a surface which is offset to the given surface.

3 个评论

What is the form of your data? At the moment it sounds like you should just add a constant to the coordinates and draw the surface
Take any surface any draw the offset surface by moving the points along normal to the surface at that point.
Hello, interp2 might help you. You can interpolate function values for two dimensions. You have to create the same grid for both of your surfaces and then you can add the function values grid. Execute the following command in the MATLAB Command Window for more information:
web(fullfile(docroot, 'matlab/ref/interp2.html'))
Kind regards, Stefan

请先登录,再进行评论。

回答(0 个)

类别

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by