Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

how to convert exponentional number into a decimal number

1 vue (au cours des 30 derniers jours)
faa nad
faa nad le 9 Oct 2012
Clôturé : MATLAB Answer Bot le 20 Août 2021
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

Réponses (2)

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

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

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by