Borrar filtros
Borrar filtros

Any way to force Command Window Answers to print Fractions?

11 visualizaciones (últimos 30 días)
Clark
Clark el 6 de Nov. de 2012
Comentada: pavan teja el 31 de Oct. de 2022
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 comentario
pavan teja
pavan teja el 31 de Oct. de 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

Iniciar sesión para comentar.

Respuesta aceptada

Brian B
Brian B el 6 de Nov. de 2012
Editada: Brian B el 6 de Nov. de 2012
Try
format rat
-Brian

Más respuestas (0)

Categorías

Más información sobre Code Generation en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by