Help me about number in matlab ?

1 view (last 30 days)
In matlab, Ex: x = 1.5; How do I do to result shown fraction x = 3/2 thanks

Accepted Answer

Roger Stafford
Roger Stafford on 30 Dec 2013
See 'rat' documentation.

More Answers (0)


Find more on Discrete Math in Help Center and File Exchange



Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by