Problem 2392. Find the coefficient of a number in scientifc notation
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 commentsProblem Recent Solvers39
Suggested Problems
-
Remove any row in which a NaN appears
8474 Solvers
-
Return elements unique to either input
757 Solvers
-
Who is the smartest MATLAB programmer?
737 Solvers
-
Given a matrix, swap the 2nd & 3rd columns
1013 Solvers
-
4355 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!