How to make matlab display decimal numbers?

14 visualizaciones (últimos 30 días)
Arman Jukic
Arman Jukic el 10 de Oct. de 2017
Respondida: Walter Roberson el 10 de Oct. de 2017
It looks something like this:
cos(197/5) - (52*sin(197/5))/15 + 1437648634144923/500000000

Respuesta aceptada

Walter Roberson
Walter Roberson el 10 de Oct. de 2017
If the result is purely numeric, you can double() it.
If the result still has symbolic variables in it, then vpa() it.

Más respuestas (0)

Categorías

Más información sobre Logical 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