finding the power of a number
Show older comments
hello, actually what i wanted to know is: if i have a number like 0.6543e+013. Now i just need 0.6543.so i need to divide by 10^the power.but i cant understand how to find this value of power.Is there any function available in matlab that can give me my value...?
Thank you, Ekta
Accepted Answer
More Answers (2)
Andrei Bobrov
on 22 Jun 2013
x = 0.6543e+013
x*10^-ceil(log10(x))
Jan
on 23 Jun 2013
What is the wanted result for:
123.456
0.0000000000123
Categories
Find more on Mathematics in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!