Code covered by the BSD License  

Highlights from
LaguerreEig

image thumbnail
from LaguerreEig by Damian Trif
Calculates numerical eigenvalues and eigenfunctions of Schroedinger problems on (0,infinity).

D=deriv(n)
function D=deriv(n)
D=zeros(n);
for i=1:n
    D(i,i)=-1/2;
    for j=i+1:n
        D(i,j)=-1;
    end
end

Contact us at files@mathworks.com