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).

events_leuc( t,u )
function [ value,isterminal,direction] = events_leuc( t,u )

value=[u(1)-20000;u(2)-10000;u(3)-20000];
isterminal=[1;1;1];
direction=[0;0;0];
end

Contact us at files@mathworks.com