frac
Find fractional part
Syntax
Description
returns the
fractional part of the specified symbolic number. If Y = frac(X)X contains a mixed
number, frac(X) returns its proper fraction. If X
contains an improper fraction, frac(X) divides the numerator of the
fraction by its denominator and returns the remainder. This function is equivalent to
X - fix(X).
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2009b