Path: news.mathworks.com!not-for-mail
From: "Steven Lord" <slord@mathworks.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Extended Symbolic Toolbox, code not working under new versions
Date: Mon, 7 Apr 2008 12:44:10 -0400
Organization: The MathWorks, Inc.
Lines: 19
Message-ID: <ftdj0r$4p5$1@fred.mathworks.com>
References: <ftcsat$gtm$1@fred.mathworks.com>
Reply-To: "Steven Lord" <slord@mathworks.com>
NNTP-Posting-Host: lords.dhcp.mathworks.com
X-Trace: fred.mathworks.com 1207586651 4901 144.212.105.187 (7 Apr 2008 16:44:11 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 7 Apr 2008 16:44:11 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
Xref: news.mathworks.com comp.soft-sys.matlab:461550




"Dingyu Xue" <xuedingyu@mail.neu.edu.cn> wrote in message 
news:ftcsat$gtm$1@fred.mathworks.com...
> The following codes used to run in earlier versions, but now
> it is not working under 2007b, 2008a
>
> maple('with(numtheory):'); f=maple(['cfe:=cfrac(pi,20)'])
> n=maple('nthnumer','cfe',4); d=maple('nthdenom','cfe',4)

I haven't investigated to determine what changed, but if you're trying to 
work with the continued fraction for the constant pi, and not the number 
theory function pi(n), try replacing 'pi' in your MAPLE call that creates f 
with 'Pi'.

-- 
Steve Lord
slord@mathworks.com