Plot the offset surface

3 views (last 30 days)
Jashwanth  Kamsani
Jashwanth Kamsani on 23 Apr 2016
Commented: Stefan Raab on 23 Apr 2016
I need to plot a surface which is offset to the given surface.
  3 Comments
Jashwanth  Kamsani
Jashwanth Kamsani on 23 Apr 2016
Take any surface any draw the offset surface by moving the points along normal to the surface at that point.
Stefan Raab
Stefan Raab on 23 Apr 2016
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

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!