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

70.45% Correct | 29.55% Incorrect
Last Solution submitted on Feb 09, 2020