top of page
CPMSE Worked Examples
What is the problem asking us to do?
When you run the program snow.m with different values as parameters you should get images like:
snow(1) snow(2)
snow(3) snow(5)




Now, take a look at the code and try to understand how is it doing it.
HINT: Please note there are three different functions:
-
snow
-
kline
-
plotline
It seems as if the number in the parenthesis would mean the number of times a line is divided in sub segments using a triangle for that purpose.
bottom of page