how to split a number?

2 次查看(过去 30 天)
I have a number a=2.3*10^5, I want to separate 2.3 and 10^5 as two different data value. How do I do it? please help

采纳的回答

Stephen23
Stephen23 2015-8-30
>> x = 2.3*10^5;
>> y = 10^floor(log10(x))
y =
100000
>> z = x/y
z =
2.3

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 NaNs 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by