How to extract the exponential term?

5 views (last 30 days)
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.

Accepted Answer

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

More Answers (0)

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Products


Release

R2016a

Community Treasure Hunt

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

Start Hunting!