Fun problem!
I think minus() and power() must be forbidden
Really enjoyed tackling this problem, thanks!
Oh no, I thought sqrt was also not allowed. Made it harder than it needed to be.
Good problem!
1099 Solvers
220 Solvers
How long is the longest prime diagonal?
342 Solvers
Replace multiples of 5 with NaN
362 Solvers
Switch matrix to a column vector
264 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!