Unfortunately the FFT based solution using a binary expansion of 'n' won't be Cody-optimal :-)
Back to basics 20 - singleton dimensions
255 Solvers
333 Solvers
Find the largest value in the 3D matrix
1068 Solvers
Detect a number and replace with two NaN's
178 Solvers
234 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!