28.10.2014 Views

15. Metoda končnih elementov in reševanje BDE in PDE v Matlabu

15. Metoda končnih elementov in reševanje BDE in PDE v Matlabu

15. Metoda končnih elementov in reševanje BDE in PDE v Matlabu

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Matlab implementacija za zgled 3<br />

function [c,f,s] = fisherde(x,t,u,ux)<br />

c = 1;<br />

f = ux;<br />

s = u*(1-u);<br />

function [pa,qa,pb,qb] = fischerbc(xl,ul,xr,ur,t)<br />

pa = 0;<br />

qa = 1;<br />

pb = 0;<br />

qb = 1;<br />

function y = fischer<strong>in</strong>i(x)<br />

y = 0.25*(cos(0.1*pi*x).^2).*(abs(x)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!