The answer to life the universe and everything is 42, but this is naturally in base 13. Unfortunately, MATLAB is in base 10, so write a function to return the answer to life the universe and everything in base 10.
Solution Stats
Solution Comments
Show comments
Loading...
Problem Recent Solvers34
Suggested Problems
-
Project Euler: Problem 3, Largest prime factor
1821 Solvers
-
Replace multiples of 5 with NaN
472 Solvers
-
Who is the smartest MATLAB programmer?
793 Solvers
-
765 Solvers
-
Basic commands - Least common multiple
244 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!