round off value up to 5 decimal point
10 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
hi after simplifying a equation i have got a value as shown below
4*sin(x1) - 7*sin(x2))/2 - 8236469997687075/18014398509481984
in that how to get an equation in decimal instead of fraction
0 comentarios
Respuesta aceptada
Azzi Abdelmalek
el 30 de Dic. de 2012
Out=fix(x*10^5)/10^5
3 comentarios
Jan
el 30 de Dic. de 2012
@Azzi: 10^5 is more expensive than 1e5.
@P Anand Raju: Accepting an answer means, that the problem is solved. Is it?
Más respuestas (0)
Ver también
Categorías
Más información sobre Logical en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!