Define the vectors aVec and bVec:

and

Using matrix operations, calculate yMat:
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers477
Suggested Problems
-
Return the largest number that is adjacent to a zero
5516 Solvers
-
We love vectorized solutions. Problem 1 : remove the row average.
884 Solvers
-
644 Solvers
-
342 Solvers
-
391 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!