While solving a system of linear equations, i am getting answer in decimal. How can find answer in rational no.? I know it's easy, but i am not able to find.

1 view (last 30 days)
While solving a system of linear equations, i am getting answer in decimal. How can find answer in rational no.? I know it's easy, but i am not able to find.

Answers (1)

Walter Roberson
Walter Roberson on 8 Feb 2016
You use the symbolic toolbox. Or you use rat()

Categories

Find more on Mathematics 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!