www.gusucode.com > symbolic 源码程序 matlab案例代码 > symbolic/PlotChebyshevPolynomialsOfTheFirstKindExample.m

    %% Plot Chebyshev Polynomials of the First Kind
% Plot the first five Chebyshev polynomials of the first kind.
syms x y
fplot(chebyshevT(0:4, x))
axis([-1.5 1.5 -2 2])
grid on

ylabel('T_n(x)')
legend('T_0(x)', 'T_1(x)', 'T_2(x)', 'T_3(x)', 'T_4(x)', 'Location', 'Best')
title('Chebyshev polynomials of the first kind')