LisaPizzoExercises/Sheet7/E14/jacob_template/laplacian.m
2026-01-10 15:27:25 +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");