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
-
2558 Solvers
-
319 Solvers
-
Program an exclusive OR operation with logical operators
751 Solvers
-
Celsius to Fahrenheit converter
671 Solvers
-
527 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!