Path: news.mathworks.com!not-for-mail
From: "Song Joo " <song-lee@northwestern.edu>
Newsgroups: comp.soft-sys.matlab
Subject: Re: solve equation
Date: Fri, 5 Dec 2008 17:33:02 +0000 (UTC)
Organization: Northwestern University
Lines: 28
Message-ID: <ghboke$2s9$1@fred.mathworks.com>
References: <gh9pu6$7ug$1@fred.mathworks.com> <gh9to2$lq4$1@fred.mathworks.com> <gh9vrh$jim$1@fred.mathworks.com> <gha0ta$9lg$1@fred.mathworks.com> <ghbmqa$491$1@fred.mathworks.com> <ghbnki$h70$1@fred.mathworks.com>
Reply-To: "Song Joo " <song-lee@northwestern.edu>
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 1228498382 2953 172.30.248.37 (5 Dec 2008 17:33:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 5 Dec 2008 17:33:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1401207
Xref: news.mathworks.com comp.soft-sys.matlab:505234

Thank you very much!
"Joerg Buchholz" <buchholz@hs-bremen.de> wrote in message <ghbnki$h70$1@fred.mathworks.com>...
> "Song Joo " <song-lee@northwestern.edu> wrote in message <ghbmqa$491$1@fred.mathworks.com>...
> > I ended up to go back to your other suggestion.-moreless manually solving with one unknown variable. The other question is this,
> > Then the solution is,
> > i*(((17*17797387353769591822856140666864759^(1/2))/4503599627370496000 - 1945982880988654689/22517998136852480000)^2 - 289/2500)^(1/2) + 7744119703248663/18014398509481984
> >  7744119703248663/18014398509481984 - i*(((17*17797387353769591822856140666864759^(1/2))/4503599627370496000 - 1945982880988654689/22517998136852480000)^2 - 289/2500)^(1/2)
> >  
> > Which is supposed to be two simple values but i don't know why matlab format gives me these ridiculous numbers as solutions.
> > 
> > When I recopy this value , then it will give me simple solutions as 
> > 
> > ans =
> > 
> >     0.6716
> > 
> > 
> > ans =
> > 
> >     0.1882
> > 
> > Does anyone know matlab command to simply these complex formats? 
> > 
> > Thanks in advance,
> > SongJoo
> 
> The 'double' command should do the job.