Find the sum of all the odd numbers in a matrix.
Example
x = [2 3 5 7 1 4 11] y = 27
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers622
Suggested Problems
-
Return a list sorted by number of occurrences
2901 Solvers
-
2349 Solvers
-
Project Euler: Problem 2, Sum of even Fibonacci
2915 Solvers
-
Check if number exists in vector
14495 Solvers
-
Split a string into chunks of specified length
2153 Solvers
More from this Author9
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!