Path: news.mathworks.com!not-for-mail
From: "Steve " <steveDEL.bachmeierDEL@yahoo.com>
Newsgroups: comp.soft-sys.matlab
Subject: symbolic partials
Date: Fri, 12 Oct 2007 20:08:38 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 7
Message-ID: <feok86$hqa$1@fred.mathworks.com>
Reply-To: "Steve " <steveDEL.bachmeierDEL@yahoo.com>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1192219718 18250 172.30.248.37 (12 Oct 2007 20:08:38 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 12 Oct 2007 20:08:38 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1034320
Xref: news.mathworks.com comp.soft-sys.matlab:432696



How do I take a partial derivative of a function with 
symbols?  For example, when I try 
f=x*y
diff(x,'y')
I just get zero.  Any suggestions?

Thanks.