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!