Cody

Problem 44255. Average of even-numbered columns

Given a vector, find the average of even-numbered columns.

e.g

x = [ 4 6 8 9 1 2 7 ]

y = ( 6 + 9 + 2 ) / 3

Solution Stats

69.77% Correct | 30.23% Incorrect
Last solution submitted on Feb 10, 2019