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
-
Select every other element of a vector
36941 Solvers
-
6455 Solvers
-
1464 Solvers
-
334 Solvers
-
Find the Oldest Person in a Room
21074 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!