function x=cheb(n)
	x=zeros(n,1);
	for i=1:n
		x(i)=cos((2*i-1)*pi/(2*n));
	endfor
endfunction
