Azzera filtri
Azzera filtri

Any way to force Command Window Answers to print Fractions?

11 visualizzazioni (ultimi 30 giorni)
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 Commento
pavan teja
pavan teja il 31 Ott 2022
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

Accedi per commentare.

Risposta accettata

Brian B
Brian B il 6 Nov 2012
Modificato: Brian B il 6 Nov 2012
Try
format rat
-Brian

Più risposte (0)

Categorie

Scopri di più su Code Generation in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by