rat
Rational fraction approximation (continued fraction)
Description
returns the
rational fraction approximation of R = rat(X)X to within the default tolerance,
1.e-6*norm(X(:),1). The approximation is a character array containing
the simple continued
fraction with finite terms.
___ = rat(___,
uses additional options specified by one or more Name,Value)Name,Value pair
arguments to approximate X.
Examples
Input Arguments
Name-Value Arguments
Output Arguments
Limitations
You can only specify the
Name,Valuearguments, such as'Length',5,'Positive',true, if the arrayXcontains a symbolic number or the data type ofXissym.
More About
Version History
Introduced in R2020a