[Top][All Lists]

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

[Octave-bug-tracker] [bug #43717] rats LEN Matlab incompatibility

From: Rik
Subject: [Octave-bug-tracker] [bug #43717] rats LEN Matlab incompatibility
Date: Thu, 6 Jun 2019 11:49:24 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko

Update of bug #43717 (project octave):

                  Status:                    None => Need Info              


Follow-up Comment #2:

The documentation for Matlab now makes this quite clear.  According to them,
the construction of a rational approximation with rats() is done via the
function rat and a tolerance.

[N,D] = rat(X,tol)
where tol is min(10^(-(strlen-1)/2)*norm(X(isfinite(X)),1),.1)

I agree with the original reporter that I wouldn't bother to fix this as
Octave's solution seems better.

One thing I do notice is that Matlab seems to have changed the default length
to 13 from 9.  Should Octave make that change?


Reply to this item at:


  Message sent via Savannah

reply via email to

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