Take two vectors, and output the mean of them (bonus if you don't use the in-built mean function)
Solution Stats
Problem Comments
2 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers116
Suggested Problems
-
Select every other element of a vector
36303 Solvers
-
3433 Solvers
-
How to find the position of an element in a vector without using the find function
2814 Solvers
-
398 Solvers
-
Replace every 3rd element in a vector with 4
265 Solvers
More from this Author18
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
Additional test cases have been added.
The title and description/instruction should refer to finding and outputting "means" (plural), not "the mean" (singular). Also, it would have been good for the Test Suite to include both row and column vectors, appropriately paired.