====== Differences ====== This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
gibson:teaching:fall-2012:math445:lab7 [2012/10/31 19:33] gibson |
gibson:teaching:fall-2012:math445:lab7 [2012/10/31 19:34] (current) gibson |
||
---|---|---|---|
Line 92: | Line 92: | ||
plotted. | plotted. | ||
- | **Bette idea**: Calculate four sparse matrices L1, L2, L3, L4, which are nonzero | + | **Better idea**: Calculate four sparse matrices L1, L2, L3, L4, which are nonzero |
wherever L is live and has 1, 2, 3, and 4 or more live neighbors, respectively. | wherever L is live and has 1, 2, 3, and 4 or more live neighbors, respectively. | ||
Then plot all the nonzero entries of L1 with red, of L2 with blue, L3 with green, | Then plot all the nonzero entries of L1 with red, of L2 with blue, L3 with green, |