legfun.m

来自「求解量子力学的薛定谔方程」· M 代码 · 共 10 行

M
10
字号
function f=legfun(N,M,x);%> CALL: f = legfun(N,M,x)%> Calculates the Legendre functions P(M,L) for L = M,...,N;%> NORMALIZED to an L2 norm = 1 on the interval [-1,1].%> Input: N > M integers, x row vector.%> Output: matrix with N-M+1 rows of length = length(x);%> This program is just to get this matrix quickly, use the %> standard Legendre routines of MATLAB for accuracy.%>%> 

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?