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
-
4190 Solvers
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
2052 Solvers
-
930 Solvers
-
Matlab Basics II - Count rows in a matrix
406 Solvers
-
Test Problem; Create a 5x5 array containing all ones
405 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!