Info
This question is closed. Reopen it to edit or answer.
how to convert exponentional number into a decimal number
1 view (last 30 days)
Show older comments
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 Comment
Answers (2)
Andrei Bobrov
on 9 Oct 2012
a = 1.0e+013 * [ 0.0106 1.9718]
out = a.*10.^-max(floor(log10(a)))
0 Comments
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!