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 Solvers79
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15689 Solvers
-
11512 Solvers
-
731 Solvers
-
Who has power to do everything in this world?
470 Solvers
-
Find out sum and carry of Binary adder
1623 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!