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 comments
Loading...
Problem Recent Solvers78
Suggested Problems
-
Select every other element of a vector
37404 Solvers
-
328 Solvers
-
07 - Common functions and indexing 1
455 Solvers
-
570 Solvers
-
Number of Even Elements in Fibonacci Sequence
1695 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!