Cody

Problem 44255. Average of even-numbered columns

Created by Noriko Hounoki in Community

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 10, 2019

Recent Solvers28

Suggested Problems

More from this Author10

Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!