It's not clear how the output should be calculated
Not a general solution as X={4,6,8,...} are not on row 2.
1366 Solvers
Project Euler: Problem 10, Sum of Primes
707 Solvers
Getting the absolute index from a matrix
211 Solvers
Determine the length of a string of characters
172 Solvers
286 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!