*sin(t)/6;
0035 xy2 = [x',y'];
0036 
0037 xy = [xy1;xy2];
0038 
0039 <span class="comment">% rotate slightly so crossing is symmetric across the x-axis</span>
0040 theta = pi/n;
0041 ct = cos(theta);
0042 st = sin(theta);
0043 rot = [ct,st; -st, ct];
0044 xy = xy*rot;
0045 
0046 <a href="embed.html" class="code" title="function embed(g,xy)">embed</a>(g,xy);</pre></div>
<hr><address>Generated on Fri 30-Apr-2010 07:51:16 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &