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 Solvers77
Suggested Problems
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
2052 Solvers
-
2278 Solvers
-
Number of 1s in a binary string
11379 Solvers
-
Set the array elements whose value is 13 to 0
1445 Solvers
-
Reverse the elements of an array
1126 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!