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
-
1465 Solvers
-
Matrix indexing with two vectors of indices
776 Solvers
-
Getting the indices from a vector
11890 Solvers
-
Longest run of consecutive numbers
6501 Solvers
-
Convert from Base 10 to base 5
281 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!