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
-
Return the largest number that is adjacent to a zero
5211 Solvers
-
Back to basics 12 - Input Arguments
586 Solvers
-
Write a code that will follow the equation y = x * (x + x) * x.
319 Solvers
-
Find the max element of the array
1386 Solvers
-
76 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!