Problem 61100. The Five Infection (Boss Level)

Given a 3x3 matrix A, replace:
  • every value that is equal to five
  • every value that is directly adjacent to a five
with zero in matrix B. To be adjacent in this problem only consider above, below, right, and left: no diagonals.

Solution Stats

67.42% Correct | 32.58% Incorrect
Last Solution submitted on Dec 12, 2025

Solution Comments

Show comments

Problem Recent Solvers57

Suggested Problems

More from this Author9

Problem Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!