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 Solvers33
Suggested Problems
-
Is my wife right? Now with even more wrong husband
1346 Solvers
-
Who knows the last digit of pi?
692 Solvers
-
316 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
14085 Solvers
-
Check that number is whole number
5413 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!