It's not clear how the output should be calculated
Not a general solution as X={4,6,8,...} are not on row 2.
753 Solvers
Flag largest magnitude swings as they occur
582 Solvers
321 Solvers
369 Solvers
525 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!