Path: news.mathworks.com!newsfeed-00.mathworks.com!newsfeed2.dallas1.level3.net!news.level3.com!postnews.google.com!19g2000hsx.googlegroups.com!not-for-mail
From:  P <prashanthramu@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: syms and vpa problem
Date: Wed, 08 Aug 2007 01:23:41 -0000
Organization: http://groups.google.com
Lines: 33
Message-ID: <1186536221.626810.124390@19g2000hsx.googlegroups.com>
References: <1186516859.503046.118710@22g2000hsm.googlegroups.com>
NNTP-Posting-Host: 152.15.180.44
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Trace: posting.google.com 1186536221 28735 127.0.0.1 (8 Aug 2007 01:23:41 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Wed, 8 Aug 2007 01:23:41 +0000 (UTC)
In-Reply-To: <f9asrm$e9a$1@fred.mathworks.com>
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0,gzip(gfe),gzip(gfe)
Complaints-To: groups-abuse@google.com
Injection-Info: 19g2000hsx.googlegroups.com; posting-host=152.15.180.44;
Xref: news.mathworks.com comp.soft-sys.matlab:422853


On Aug 7, 6:48 pm, "us " <u...@neurol.unizh.ch> wrote:
> P:
> <SNIP has a very simple variable precision arithmetic: it's
> simply always empty...
>
> here (r2007a) your example yields
>
> syms phis
> s=...
> -282270057375923/2361183241434822606848*...
>      cos(phis+2835403426559781/1125899906842624)-...
> 5849622991223293/18889465931478580854784*...
>      cos(phis+1649123417284613/281474976710656)+...
> 8867307977828847/75557863725914323419136*...
>      cos(phis+1667188769632673/281474976710656)...
> -6776253911855553/18889465931478580854784*...
>      cos(phis+5867111522062989/9007199254740992)...
> +7154406299740559/75557863725914323419136*...
>      cos(phis+6355945788037667/1125899906842624);
> vpa(s,1)
> % -.1e-6*cos(phis+3.)-.1e-6*cos(phis+6.)-.4e-6*cos(phis+.7)
>
> us

Thanks ! Really dont know whats going wrong here !

I am running ...

MATLAB Version 7.3.0.298 (R2006b)
Operating System: Linux 2.6.18-8.1.1.el5 #1 SMP Mon Feb 26 20:37:57
EST 2007 x86_64