plotting an implicit 3d function

  • Follow


I am trying to plot a 3d cone (upside down) using the implicit equatin x^2+y^2=z^2, but having trouble finding out how to plot implicit functions with matlab, any suggestions would be appreciated.

thanks, Jeff
0
Reply Jeff 5/16/2010 3:06:05 AM

"Jeff Westmoreland" <jeffswestmoreland@gmail.com> wrote in message <hsnnet$9s4$1@fred.mathworks.com>...
> I am trying to plot a 3d cone (upside down) using the implicit equatin x^2+y^2=z^2, but having trouble finding out how to plot implicit functions with matlab, any suggestions would be appreciated.
> 
> thanks, Jeff

one of the many solutions

     [x,y]=meshgrid(-10:.5:10);
     z=sqrt(x.^2+y.^2);
     surfl(x,y,z);
% also, look at EZSURF

us
0
Reply us 5/16/2010 8:27:03 AM


1 Replies
763 Views

(page loaded in 0.029 seconds)

Similiar Articles:













7/24/2012 1:04:43 AM


Reply: