here are some fun functions to play with matrix manipulations of 
simple point figures, like the waving stick man provided

to get started, make some points 
>> m = stickManWaves();

see what it looks like
>> plotPoints(m);

now try a matrix transformation, like a rotation
>> a = [0 -1; 1 0];
>> newMan = mult(a,m);
>> plotPoints(newMan);

for contrast, 
>> plotPoints(m,newMan)

now make and plot all the transformations to:
-scale the points to 2x larger
-scale the points down to 1/3 size
-rotate by 30 degrees CW
-rotate by 60 degrees CCW
-reflect the stick man into a headstand
-reflect the stick man to wave with its right hand
Challenge:
-reflect the stick man into a handstand, that is, about a 45-degree line


the next part of section today will explore the convex hull of a set of points
we use the Matlab built-in convhull to compute the convex hull

try it out
>> p = pointsInRing(25, 100);
>> plotPoints(p);
>> h = convhull(p(2,:), p(1,:));  % x,y ~ c,r
>> plotPoints(p,p(h));

Challenge:
try to make a point set for the edge of a lightstick, and find its convex hull
you have seen how to find edges in the first assignment, now try storing this point set
lastly, find the furthest pair of points on the convex hull by checking all 
   distances between pairs of points on the convex hull
