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 Solvers76
Suggested Problems
-
Reverse the elements of an array
1106 Solvers
-
323 Solvers
-
07 - Common functions and indexing 2
421 Solvers
-
186 Solvers
-
999 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!