octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: More help with rat


From: John Frain
Subject: Re: More help with rat
Date: Mon, 10 Dec 2018 21:56:17 +0000


John C Frain, Ph.D.

Economics Department             3 Aranleigh Park
Trinity College Dublin                 Rathfarnham
College Green                           Dublin 14
Dublin 2                                    Ireland
Ireland


On Mon, 10 Dec 2018 at 21:41, Rik <address@hidden> wrote:
Apparently the Matlab version of rat accepts complex numbers.  Could
someone try the following and report the results?

rat (complex (0.5, pi))

--Rik

with Matlab 2028b on Windows 10

>> 
rat (complex (0.5, pi))

ans =

  3×18 char array

    '1 + 1/(-2)        '
    ' +i* ...          '
    '3 + 1/(7 + 1/(16))'

>>  

reply via email to

[Prev in Thread] Current Thread [Next in Thread]