Problem 61012. Return the sum of all even numbers in a vector

Write a function that takes a vector of integers and returns the sum of all even numbers.

Solution Stats

87.5% Correct | 12.5% Incorrect
Last Solution submitted on Nov 14, 2025

Solution Comments

Show comments

Problem Recent Solvers14

Suggested Problems

Problem Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!