I recommend seeing this: https://en.wikipedia.org/wiki/Oscillator_(cellular_automaton)
It's similar to the previous one, but there are multiple automatons and the problem asks for the previous step to the current state.
3198 Solvers
Are all the three given point in the same line?
280 Solvers
We love vectorized solutions. Problem 1 : remove the row average.
577 Solvers
Create an n-by-n null matrix and fill with ones certain positions
294 Solvers
245 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!