Problem 1810. 05 - Vector Equations 2
Define the vectors aVec and bVec:

and

Using elementwise operations, calculate yVec:

Solution Stats
Problem Comments
-
1 Comment
George
on 16 Aug 2013
There's a typo in the test suite - the third element in aVec should be 9, not 8.
Solution Comments
Show commentsProblem Recent Solvers428
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15666 Solvers
-
7761 Solvers
-
Number of 1s in a binary string
10104 Solvers
-
Magic is simple (for beginners)
10243 Solvers
-
1668 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!