필터 지우기
필터 지우기

how to convert exponentional number into a decimal number

조회 수: 1 (최근 30일)
faa nad
faa nad 2012년 10월 9일
dear sir, i m calculating euclidean distance between two vector,the output is in terms of exponential as 1.0635e+011 but i m need of decimal number as .0106
please do me a favour

답변 (2개)

Matt J
Matt J 2012년 10월 9일
>> z=1.0635e+011 %What you have
z =
1.0635e+11
>> z/1e13 %What you've asked for
ans =
0.0106

Andrei Bobrov
Andrei Bobrov 2012년 10월 9일
a*10^-ceil(log10(a))

카테고리

Help CenterFile Exchange에서 Data Type Conversion에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by