Exercises_MarkusSchmidt/sheet7/jacobi.template/laplacian.m
Markus Schmidt 4c92446409 Sheet 7
2026-01-06 14:05:44 +01:00

8 lines
No EOL
152 B
Matlab

%% calculate -Laplacian of a function
syms x y c ;
u = x*x*sin(2.5*pi*y)
f = simplify(-laplacian(u,[x,y]))
fsurf(u,[0,1,0,1])
xlabel("x");ylabel("y");