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 !!!
1091 Solvers
Find nearest prime number less than input number
269 Solvers
The Answer to Life, the Universe, and Everything
383 Solvers
412 Solvers
343 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!