configure display of exponential numbers
7 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
cdlapoin
el 29 de En. de 2022
Respondida: Stephen23
el 29 de En. de 2022
Matlab displays large or small numbers as:
1.0e-10 *
0.1270 0.1310 0.1120 0.1480 0.1650
I just want the exponent used to always be a factor of 3, ie: engineering notation. I have num2eng from the file exchange but it displays values as strings which is not ideal for me. Perhaps there is a way to configure it differently but I really like the build in way of displaying numbers, I just want it to report the exponent in factors of three. Is this possible?
ex from num2eng:
1×5 cell array
{'12.7e-12'} {'13.1e-12'} {'11.2e-12'} {'14.8e-12'} {'16.5e-12'}
0 comentarios
Respuesta aceptada
Stephen23
el 29 de En. de 2022
format shortEng
1e-10*[0.1270,0.1310,0.1120,0.1480,0.1650]
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Call MATLAB from C 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!