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

68.0% Correct | 32.0% Incorrect
Last Solution submitted on Jun 20, 2020