Any way to force Command Window Answers to print Fractions?

Is there any way to change the format of all numbers in the answers of the command window to be displayed as fractions rather than decimals? Thanks!

1 Comment

setup the vector calle 'N' with 5 elements having 1,2,3,4,5 using 'N' create assignment for x
1/2,1,3/2,2

Sign in to comment.

More Answers (0)

Categories

Find more on Programming in Help Center and File Exchange

Asked:

on 6 Nov 2012

Commented:

on 31 Oct 2022

Community Treasure Hunt

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

Start Hunting!