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 Solvers69
Suggested Problems
-
Replace NaNs with the number that appears to its left in the row.
2956 Solvers
-
Calculate the Number of Sign Changes in a Row Vector (No Element Is Zero)
664 Solvers
-
Flip the vector from right to left
8646 Solvers
-
6900 Solvers
-
5869 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!