It's not clear how the output should be calculated
Not a general solution as X={4,6,8,...} are not on row 2.
3612 Solvers
2340 Solvers
380 Solvers
Matlab Basics II - Create a vector with a repeated entry
182 Solvers
292 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!