@sym
Return the fractional part of a symbolic expression.
Examples:
y = frac(sym(3)/2) ⇒ y = (sym) 1/2 syms x rewrite(frac(x), 'floor') ⇒ ans = (sym) x - ⌊x⌋
See also: @sym/ceil, @sym/floor, @sym/fix, @sym/round.
Package: symbolic