It's not clear how the output should be calculated
Not a general solution as X={4,6,8,...} are not on row 2.
1374 Solvers
Project Euler: Problem 1, Multiples of 3 and 5
1522 Solvers
Sum of odd numbers in a matrix
318 Solvers
383 Solvers
1211 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!