Borrar filtros
Borrar filtros

How change the display format

1 visualización (últimos 30 días)
Babak
Babak el 4 de Jun. de 2014
Comentada: Star Strider el 4 de Jun. de 2014
Hi guys, I have defined a symbolic equation in matlab. When I run the program the result will be shown like this:
2239906695008851*cos(phi))/35184372088832
but my numbers simply were:
143*cos(phi)/2.24
How can I change the display format to the simple number? Thanks

Respuesta aceptada

Star Strider
Star Strider el 4 de Jun. de 2014
See the documentation for vpa. There are links to similar functions (such as double that might also work ) at the end of that page.
  2 comentarios
Babak
Babak el 4 de Jun. de 2014
Thanks. It works
Star Strider
Star Strider el 4 de Jun. de 2014
My pleasure!

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Get Started with MATLAB en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by