Problem 319. Biggest Value in the (Neighbor)Hood
Solution Stats
Problem Comments
-
6 Comments
Is the B matrix described above correct?
no, I believe the first and last rows should read [1 0 0 0 2 3 3] and [1 3 2 3 0 0 2], respectively
Is the test suite correct now? An old problem though...
Hello Rifat, I've solved this one recently, and it seems to be ok.
The test suite has been updated and solutions have been rescored.
The example given above is incorrect for B.
See Case Test 1 for the correct B example.
B = [1 0 0 0 2 3 3;...
3 2 4 2 0 2 0;...
0 2 3 3 3 1 3;...
4 2 0 1 4 3 1;...
1 3 2 3 0 0 2]
Solution Comments
Show commentsProblem Recent Solvers26
Suggested Problems
-
Replace NaNs with the number that appears to its left in the row.
3059 Solvers
-
2537 Solvers
-
52 Solvers
-
571 Solvers
-
Replace multiples of 5 with NaN
466 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!