Problem 61126. Sum of even numbers in a vector

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

Solution Stats

83.33% Correct | 16.67% Incorrect
Last Solution submitted on Dec 15, 2025

Solution Comments

Show comments

Problem Recent Solvers10

Suggested Problems

Problem Tags

Community Treasure Hunt

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

Start Hunting!