Rational fraction approximation

returns
the rational fraction approximation of `R`

= rat(`X`

)`X`

to
within the default tolerance, `1e-6*norm(X(:),1)`

.
The approximation is a character array containing the truncated continued
fractional expansion.

Was this topic helpful?