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

f=leucemia3d(t,u)
function f=leucemia3d(t,u)
% the r.h.s. f of the system u'=f(u)

P=param;f=zeros(3,1);
a=P(1,1);b=P(1,2);c=P(1,3);
A=P(2,1);B=P(2,2);C=P(2,3);
g=P(3,1);G=P(3,2);h=P(3,3);
f(1)=(a*(u(1)+u(2))/(1+b*(u(1)+u(2)+u(3)))/(u(1)+u(2)+g*u(3))-c)*u(1);
f(2)=(A*(u(1)+u(2))/(1+B*(u(1)+u(2)+u(3)))/(u(1)+u(2)+G*u(3))-C)*u(2);
f(3)=(a*u(3)/(1+b*(u(1)+u(2)+u(3)))/(u(3)+h*(u(1)+u(2)))-c)*u(3);

Contact us at files@mathworks.com