From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: 3dimensional curve
Date: Sat, 7 Feb 2009 05:29:02 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 17
Message-ID: <gmj66u$slb$>
References: <gmiuj6$nlk$>
Reply-To: <HIDDEN>
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: 1233984542 29355 (7 Feb 2009 05:29:02 GMT)
NNTP-Posting-Date: Sat, 7 Feb 2009 05:29:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1187260
Xref: comp.soft-sys.matlab:516734

"amarender " <> wrote in message <gmiuj6$nlk$>...
> Hi all,Can any one help me to draw the 3d curve for the following equation
> Z=(X)^2*(Y)^3.5*1.55/(1.51-(1.4096/Y))^2
> I am having X,Y,Z as 3 sets of points.
>        Thank you.

  Oliver Woodford has already advised you in another thread to use the 'plot3' function.  Just do this:


X, Y, and Z need to be either vectors or matrices of the same size.

  Note that in your equation you need the element-by-element operations using the "dot" notation:

 Z=X.^2 .* Y.^3.5 .* 1.55 ./ (1.51-1.4096./Y).^2 ;

Roger Stafford