Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: symbolic partials
Date: Thu, 1 Nov 2007 20:47:00 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 9
Message-ID: <fgde04$g96$1@fred.mathworks.com>
References: <feok86$hqa$1@fred.mathworks.com> <feokpa$4g$1@fred.mathworks.com> <feolru$ngn$1@fred.mathworks.com>
Reply-To: <HIDDEN>
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 1193950020 16678 172.30.248.37 (1 Nov 2007 20:47:00 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 1 Nov 2007 20:47:00 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 870136
Xref: news.mathworks.com comp.soft-sys.matlab:435715



x = sym('x');
t = sym('t');
f=x*t;
diff(f,'t')
ans =
x
Apparently you did not declare the terms as "sym"
Hope this helps
Carlos