Problem 47538. Summy's even sum
Summy wants to sum the elements of the vector x which are present at even indices. Can you help Summy by making a function which returns the required sum?
Solution Stats
Solution Comments
Show commentsProblem Recent Solvers71
Suggested Problems
-
Select every other element of a vector
33039 Solvers
-
961 Solvers
-
Right Triangle Side Lengths (Inspired by Project Euler Problem 39)
1791 Solvers
-
Reverse the elements of an array
1024 Solvers
-
78 Solvers
More from this Author1
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!