Is it not permitted by using tabulate function to solve it?
Good job with the solution. You must have given it a lot of thinking !!!
A..h... cheater !!!
1409 Solvers
715 Solvers
656 Solvers
329 Solvers
Flip the vector from right to left
2825 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!