RosettaCodeData/Task/Elementary-cellular-automaton/MATLAB/elementary-cellular-automaton-2.m
2023-07-01 13:44:08 -04:00

18 lines
455 B
Objective-C

>> char(cellularAutomaton(90, ~(-15:15), 15) * 10 + 32)
ans =
*
* *
* *
* * * *
* *
* * * *
* * * *
* * * * * * * *
* *
* * * *
* * * *
* * * * * * * *
* * * *
* * * * * * * *
* * * * * * * *
* * * * * * * * * * * * * * * *