What test 3 means???
The question is simple yet really well thought. One of my very fundamental concepts got clarified after solving this problem.
Please, edit the problem to make it clear 'eval' cannot be used.
I think same like Fulaninho de Tal, You need edit the problem and it clear 'eval' and 'str2func' cannot be used.
How do do want to handle when the index is bigger than the size of the array? In solution 2 or 3 you enter a 5x5 array, but request slice index 10.
the problem needs more explanation
Return the largest number that is adjacent to a zero
3753 Solvers
Return the 3n+1 sequence for n
6176 Solvers
It dseon't mettar waht oedrr the lrettes in a wrod are.
654 Solvers
203 Solvers
Back to basics 21 - Matrix replicating
1052 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!