Shifting a Z = F(x,y) on the x and y axis

조회 수: 1 (최근 30일)
Mohammad Alsaleh
Mohammad Alsaleh 2018년 4월 26일
I have a 3-D function, basically a 2-D matrix that I use mesh to plot on a range of [-xo:+xo] and [-yo:+yo]. I need a duplicate version of this function but a shifted one on the x and y-axis, so mathematically I need
Z = F(X-Xp,Y-Yp)
My ultimate purpose is to add the two versions of Z in the end.
I know how to plot the shifted version but not how to generate an actual one. Check the attached image.

답변 (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