How to extract the exponential term?

5 次查看(过去 30 天)
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.

采纳的回答

Aquatris
Aquatris 2018-8-26
Here is one way;
floor(log10(1.2346e+02))

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

产品


版本

R2016a

Community Treasure Hunt

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

Start Hunting!

Translated by