Problem 47533. Summy's odd sum
Summy wants to sum the elements of the vector x which are present at odd indices. Can you help Summy by making a function which returns the required sum?
Solution Stats
Problem Comments
-
1 Comment
Viplav Patel
on 17 Nov 2020
This is simple... think simple
Solution Comments
Show commentsProblem Recent Solvers78
Suggested Problems
-
Select every other element of a vector
34435 Solvers
-
Returning a "greater than" vector
261 Solvers
-
ベクトル [1 2 3 4 5 6 7 8 9 10] の作成
569 Solvers
-
308 Solvers
-
201 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!