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
-
2608 Solvers
-
Project Euler: Problem 6, Natural numbers, squares and sums.
2571 Solvers
-
Longest run of consecutive numbers
6605 Solvers
-
Sum of first n positive integers
624 Solvers
-
426 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!