Define the variables a and b:


Use these to calculate y:

Hint: remember that:
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers540
Suggested Problems
-
Find the longest sequence of 1's in a binary sequence.
6817 Solvers
-
7483 Solvers
-
Who knows the last digit of pi?
692 Solvers
-
Back to basics 25 - Valid variable names
340 Solvers
-
Relative ratio of "1" in binary number
1663 Solvers
More from this Author26
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!