Given a non-negative real number N, find the coefficient C and the exponent E of its scientific notation (N = C 10^E). Note that 0 <= C < 10
Examples:
Input N = 1024
Output C = 1.024
E = 3
Input N = 0.0589
Output C = 5.89
E = -2
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers42
Suggested Problems
-
Split a string into chunks of specified length
2056 Solvers
-
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
398 Solvers
-
Count decimal digits of a number
235 Solvers
-
73 Solvers
-
Sum the 'edge' values of a matrix
400 Solvers
More from this Author1
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!