Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: How to plot(graph) cubic equation?
Date: Wed, 25 Aug 2010 09:41:24 -0400
Organization: MathWorks
Lines: 21
Message-ID: <i536i4$1tm$1@fred.mathworks.com>
References: <i50sqr$gd6$1@fred.mathworks.com>
NNTP-Posting-Host: ah-loren0w.dhcp.mathworks.com
Mime-Version: 1.0
Content-Type: text/plain;
	format=flowed;
	charset="UTF-8";
	reply-type=response
Content-Transfer-Encoding: 7bit
X-Trace: fred.mathworks.com 1282743684 1974 172.31.57.72 (25 Aug 2010 13:41:24 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 25 Aug 2010 13:41:24 +0000 (UTC)
In-Reply-To: <HIDDEN>
X-Priority: 3
X-MSMail-Priority: Normal
Importance: Normal
X-Newsreader: Microsoft Windows Live Mail 14.0.8089.726
X-MimeOLE: Produced By Microsoft MimeOLE V14.0.8089.726
Xref: news.mathworks.com comp.soft-sys.matlab:664851


"swe lin " <pcgeekservice@gmail.com> wrote in message 
news:i50sqr$gd6$1@fred.mathworks.com...
> Please point me out how to plot the following equation:
>
> ( ( 5+ 6*x)/3 )^3  + ((2 - 3*x + 4*y)/2) ^2 =0;
>
> Thank in advance!

If you have the Symbolic Math Toolbox, you can do this:

syms x y
expr = ( ( 5+ 6*x)/3 )^3  + ((2 - 3*x + 4*y)/2) ^2
ezsurf(expr)


-- 
Loren
http://blogs.mathworks.com/loren/
http://matlabwiki.mathworks.com/MATLAB_FAQ