How can i extract a 2D plane out of 3D plot?

1 view (last 30 days)
SAZZAD HOSSAIN
SAZZAD HOSSAIN on 19 Nov 2013
Edited: Matt J on 19 Nov 2013
Hello
I want to extract a 2D-plane out of a 3D plot.
x = -a:1:a; y = x; z = f(x,y);
I plotted a 3D plot using mesh command. Now i need to capture a plane that is at x=0, all y points and all corresponding z points. What commands should i use to get that?
Thanks Sazzad

Answers (1)

Matt J
Matt J on 19 Nov 2013
Edited: Matt J on 19 Nov 2013
What commands should i use to get that?
griddedInterpolant()

Community Treasure Hunt

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

Start Hunting!