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
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
2060 Solvers
-
Arrange vector in ascending order
835 Solvers
-
Generate a random matrix A of (1,-1)
432 Solvers
-
937 Solvers
-
11092 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!