How would I solve a Laplace Equation using the FDM method?
显示 更早的评论

I have to use the FDM method to solve the equation on the first image.
Using FDM method as in the second image, how would I solve this equation with matlab?
condition : d = 1.
<<

>>
2 个评论
SAM OCHIRI
2018-9-20
Torsten
2018-9-20
In the calculation for V(i) you reference V(i+1) which has not yet been computed. Thus your "solution" for Laplace = 0 must come out wrong.
回答(1 个)
Solve A*V=b where A, b result from the system of equations
V(1) = V0
(V(i+1)-2*V(i)+V(i-1))/h^2 = 24*x(i) (i=2,...,Nx)
V(Nx+1) = V1
with V0 = 0, V1 = 3.
Best wishes
Torsten.
类别
在 帮助中心 和 File Exchange 中查找有关 Image Arithmetic 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!