Plot the offset surface

조회 수: 14 (최근 30일)
Jashwanth  Kamsani
Jashwanth Kamsani 2016년 4월 23일
댓글: Stefan Raab 2016년 4월 23일
I need to plot a surface which is offset to the given surface.
  댓글 수: 3
Jashwanth  Kamsani
Jashwanth Kamsani 2016년 4월 23일
Take any surface any draw the offset surface by moving the points along normal to the surface at that point.
Stefan Raab
Stefan Raab 2016년 4월 23일
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개)

카테고리

Help CenterFile Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by