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

1 次查看(过去 30 天)
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 中查找有关 Image Processing Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by