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일

1 개 추천

Here is one way;
floor(log10(1.2346e+02))

추가 답변 (0개)

카테고리

도움말 센터 및 File Exchange에서 Programming에 대해 자세히 알아보기

제품

릴리스

R2016a

Community Treasure Hunt

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

Start Hunting!

Translated by