It's not clear how the output should be calculated
Not a general solution as X={4,6,8,...} are not on row 2.
3378 Solvers
Reverse the Words (not letters) of a String
297 Solvers
Make a run-length companion vector
512 Solvers
525 Solvers
2627 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!