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)
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

Answers (2)

Azzi Abdelmalek
Azzi Abdelmalek on 9 Oct 2012
Euc_dist = 1.0e+013 *[ 0.0106 1.9718]
x=Euc_dist/1.0e+013

Andrei Bobrov
Andrei Bobrov on 9 Oct 2012
a = 1.0e+013 * [ 0.0106 1.9718]
out = a.*10.^-max(floor(log10(a)))

Community Treasure Hunt

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

Start Hunting!