Plot the offset surface

3 vues (au cours des 30 derniers jours)
Jashwanth  Kamsani
Jashwanth Kamsani le 23 Avr 2016
Commenté : Stefan Raab le 23 Avr 2016
I need to plot a surface which is offset to the given surface.
  3 commentaires
Jashwanth  Kamsani
Jashwanth Kamsani le 23 Avr 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 le 23 Avr 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

Connectez-vous pour commenter.

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by