Test suite is far too concise for the simplicity of the problem statement. Unless the programmer enjoys rounding and playing with format.
Sum of diagonal of a square matrix
1339 Solvers
Generate a vector like 1,2,2,3,3,3,4,4,4,4
4222 Solvers
Replace multiples of 5 with NaN
363 Solvers
354 Solvers
2413 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!