Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
how to convert exponentional number into a decimal number
조회 수: 1 (최근 30일)
이전 댓글 표시
dear sir,
Euc_dist =
[ 1.0e+013 *
0.0106 1.9718]
Euc_dist is an example matrix which has the above value. but i dont want 1.0e+013,i m interested only in the remaining value i.e [0.0106 1.9718]how to get it
댓글 수: 1
답변 (2개)
Andrei Bobrov
2012년 10월 9일
a = 1.0e+013 * [ 0.0106 1.9718]
out = a.*10.^-max(floor(log10(a)))
댓글 수: 0
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!