Problem 44301. Find the mean of two vectors
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
goc3
on 8 Sep 2017
Additional test cases have been added.
David Verrelli
on 5 Oct 2017
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.
Solution Comments
Show commentsProblem Recent Solvers114
Suggested Problems
-
Return the largest number that is adjacent to a zero
5506 Solvers
-
Output any real number that is neither positive nor negative
407 Solvers
-
Matlab Basics - Set unwanted parts of a vector to zero
259 Solvers
-
Rotate a matrix for 180 degree
184 Solvers
-
Calculate Amount of Cake Frosting
28618 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!