Shifting a Z = F(x,y) on the x and y axis
1 view (last 30 days)
Show older comments
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 Comments
Answers (0)
See Also
Categories
Find more on Surface and Mesh Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!