Sorry for a possibly misleading title.
Given a floating point input "A", we need factor it as
Q = A + B/C
where A is integer part of Q, so basically fix(Q), and B & C must be coprime to one other.
Example:
Q = 14.7419 => Q = 14 + 23/31
So that
A = 14, B = 23, C = 31
Is there a way to get B and C with intrinsic matlab functions? If not, I would appreciate a guidance in the right direction :)
Thanks in advance.