Problem 43304. Find sum of negative elements in row.
Find sum of negative elements in row. Example x=[1 -5 3 4 -6 6 7 8 9 10] result = -11
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers113
Suggested Problems
-
Replace NaNs with the number that appears to its left in the row.
3025 Solvers
-
650 Solvers
-
519 Solvers
-
377 Solvers
-
Flip the vector from right to left
9885 Solvers
More from this Author37
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!