To resolve issues starting MATLAB on Mac OS X 10.10 (Yosemite) visit: http://www.mathworks.com/matlabcentral/answers/159016
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
No products are associated with this question.
a=0.6543e+013 power=ceil(log10(a)-1) b=10^(log10(a)-power)
% the result b is always between 1 and 10, if you want the result to be between 0 and 1 add