rats
Rational output
Syntax
S = rats(X)
S = rats(X,strlen)
Description
Examples
Input Arguments
Output Arguments
Algorithms
rats
obtains rational approximations with[N,D] = rat(X,tol)
, wheretol
ismin(10^(-(strlen-1)/2)*norm(X(isfinite(X)),1),.1)
。Thus, the tolerance is inversely proportional to the output length,strlen
。
Introduced before R2006a
Was this topic helpful?