Path: news.mathworks.com!not-for-mail
From: "Steve " <steveDEL.bachmeierDEL@yahoo.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: symbolic partials
Date: Fri, 12 Oct 2007 20:36:14 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 26
Message-ID: <feolru$ngn$1@fred.mathworks.com>
References: <feok86$hqa$1@fred.mathworks.com> <feokpa$4g$1@fred.mathworks.com>
Reply-To: "Steve " <steveDEL.bachmeierDEL@yahoo.com>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1192221374 24087 172.30.248.38 (12 Oct 2007 20:36:14 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 12 Oct 2007 20:36:14 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1034320
Xref: news.mathworks.com comp.soft-sys.matlab:432705



Oops, I meant that diff(f,'x') gives me zero.  So,

f=x*y
diff(f,'x')
ans=0

I'm looking for
ans=y

Ideas?

"carlos lopez" <clv2clv_00000000_@adinet.com.uy> wrote in
message <feokpa$4g$1@fred.mathworks.com>...
> "Steve " <steveDEL.bachmeierDEL@yahoo.com> wrote in message
> <feok86$hqa$1@fred.mathworks.com>...
> > How do I take a partial derivative of a function with 
> > symbols?  For example, when I try 
> > f=x*y
> > diff(x,'y')
> Maybe you are trying to produce
> diff(x,'f')
> instead
> Regards
> Carlos
>