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
-
Make a random, non-repeating vector.
11601 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
14100 Solvers
-
275 Solvers
-
6527 Solvers
-
345 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!