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.
Getting the indices from a vector
3450 Solvers
Calculate Euler's phi function
71 Solvers
Magic is simple (for beginners)
2956 Solvers
07 - Common functions and indexing 1
353 Solvers
2481 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!