Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations pierreick on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Question regarding 3D Plot

Status
Not open for further replies.

Jepper1981

Civil/Environmental
Sep 24, 2013
1
Hi everybody,
I have been trying to plot a function

z^2=(5-x)*(5-y)

using only the positive values of the cone, and within the boundary set by

x+y>=-12.5

I've been messing around with 'meshgrid' and 'surf' but can't seem to get the boundary right. If somebody could point me in the right direction it would be great - i've been trying with a couple of for-loops as well but i cant get it right.

Hope someone can help a Matlab newbie out :)

Jesper
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor