MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   MATLAB论坛 (https://www.labfans.com/bbs/forumdisplay.php?f=6)
-   -   [MATLAB数学相关] 正交多项式 (https://www.labfans.com/bbs/showthread.php?t=17842)

zhangjin 2012-10-26 17:08

正交多项式
 
在【0,1】区间的Legendre 多项式怎么在matlab中编程?

zhangjin 2012-10-28 22:54

回复: 正交多项式
 
>> syms n
x=-1:1;
yn=(x.^2-1)^n;
pn=1/(2^n*gamma(n+1))*diff(yn,x,n);
??? Error using ==> sym.diff at 43
Do not recognize argument number 1.
这个错在哪?应该怎么编


所有时间均为北京时间。现在的时间是 14:43

Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.