How to extract the exponential term?

8 visualizaciones (últimos 30 días)
Rajashree Annapillai
Rajashree Annapillai el 26 de Ag. de 2018
Comentada: Rajashree Annapillai el 26 de Ag. de 2018
If I am having a number like 1.2346e+02 ,then I want to print only the exponent value (i.e. 02) as a result. How can I do this.Please anyone help me with this.

Respuesta aceptada

Aquatris
Aquatris el 26 de Ag. de 2018
Here is one way;
floor(log10(1.2346e+02))

Más respuestas (0)

Categorías

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

Productos


Versión

R2016a

Community Treasure Hunt

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

Start Hunting!

Translated by