How to extract the exponential term?

13 ビュー (過去 30 日間)
Rajashree Annapillai
Rajashree Annapillai 2018 年 8 月 26 日
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))
  1 件のコメント
Rajashree Annapillai
Rajashree Annapillai 2018 年 8 月 26 日
Thank you so much sir

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSmoothing についてさらに検索

製品


リリース

R2016a

Community Treasure Hunt

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

Start Hunting!

Translated by