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

1 visualización (últimos 30 días)
Mohammad Alsaleh
Mohammad Alsaleh el 26 de Abr. de 2018
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.

Respuestas (0)

Categorías

Más información sobre Surface and Mesh Plots en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by