How about changing the problem such that the centre value is not doubled?
Find the largest value in the 3D matrix
1088 Solvers
193 Solvers
Basics: Divide integers to get integer outputs in all cases
112 Solvers
Vector of numbers divisible by 3
130 Solvers
264 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!