what do u mean by every other element?
Asif, it means an index like: 1,0,1,0,1,0,1,0 ...
27992 Solvers
168 Solvers
Create a square matrix of multiples
383 Solvers
Longest run of consecutive numbers
1654 Solvers
234 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!