 function [x]=cheby(a,b,n)


x=( a + b + (a-b)*cos((2*[0:n-1]+1)*pi/(2*(n))))/2;



