I recommend seeing this: https://en.wikipedia.org/wiki/Oscillator_(cellular_automaton)
In this problem, all he wants is how many steps are necessary for the automaton to repeat itself.
Reverse the Words (not letters) of a String
Back to basics 8 - Matrix Diagonals
Circular Primes (based on Project Euler, problem 35)
Create an n-by-n null matrix and fill with ones certain positions
Find the maximum two numbers of every column of a matrix
ismember: Enhanced Performance for 'rows' and width - Speed Scoring (66% savings)
Text File Read: 64 bit data set
Kaggle: Planetoid Game of Life - Solve 3000 of 50000 Puzzles
Slitherlink I: Trivial
String Find with Wildcards of a Cell array
Find the treasures in MATLAB Central and discover how the community can help you!
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office