Just now found this nice short piece of code for drawing a simple 5-pointed star:

>> theta = 0:4/5*pi:4*pi;
>> figure;
>> plot(cos(theta),sin(theta),'m-')
>> axis equal; axis tight




Source: http://www.mathworks.com/matlabcentral/newsreader/view_thread/130807