Problem 44256. Average of odd values
Solution Stats
Problem Comments
Solution Comments
-
1 Comment
David Verrelli
on 20 Jun 2018
Using explicit iteration is not the most efficient way of solving this problem, but if you do choose to iterate I would suggest using "linear indexing", per https://au.mathworks.com/help/matlab/math/matrix-indexing.html?s_tid=doc_srchtitle#f1-85511
Problem Recent Solvers67
Suggested Problems
-
646 Solvers
-
261 Solvers
-
552 Solvers
-
352 Solvers
-
3416 Solvers
More from this Author7
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!