Problem 44626. The answer to life the universe and everything
Write a function that gives the answer to life the universe and everything to every input except the input is 42. In this case the function should give out:
the answer to life the universe and everything
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers66
Suggested Problems
-
Find the largest value in the 3D matrix
1476 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
10308 Solvers
-
1356 Solvers
-
Output any real number that is neither positive nor negative
388 Solvers
-
1008 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!