octave-maintainers
[Top][All Lists]
Advanced

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

Re: Help with rat()


From: CROZIER Richard
Subject: Re: Help with rat()
Date: Thu, 6 Dec 2018 16:49:06 +0000

R2018b:

 >> s = rat ([Inf 0 1 1/2])
size (s)

s =

   4×10 char array

     'Inf       '
     '0         '
     '1         '
     '1 + 1/(-2)'


ans =

      4.0000e+000    10.0000e+000



On 06/12/2018 16:46, Rik wrote:
> Could someone run the following test under Matlab?
>
> s = rat ([Inf 0 1 1/2])
> size (s)
>
> Thanks,
> Rik
>
>
The University of Edinburgh is a charitable body, registered in Scotland, with 
registration number SC005336.

-- 
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.


reply via email to

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