gusucode.com > symbolic工具箱matlab源码程序 > symbolic/@single/legendreP.m

    function Y = legendreP(n, x)
%LEGENDREP   Legendre polynomials.

%   Copyright 2014 The MathWorks, Inc.
Y = sym.useSymForNumeric(@legendreP, n, x); 
end