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

    %% Plot Laguerre Polynomials
% Plot the Laguerre polynomials of orders |1| through |4|.

syms x
fplot(laguerreL(1:4, x))
axis([-2  10 -10 10])
grid on

ylabel('L_n(x)')
title('Laguerre polynomials of orders 1 through 4')
legend('1','2','3','4','Location','best')