Question: PLease solve your code here part in matlab In class we numerically solved the Laplace equation in 2 0 : m m x + s
PLease solve "your code here part" in matlab
In class we numerically solved the Laplace equation in :
The unknowns, linear equations were put into matrix form:
We could then solve for the unknown interior points wint using backslash, and thus, put together the whole matrix of points including exterior points
Much of the code is already provided. You need to create the A matrix and vector. Then solve for wint using backslash.
Indexing is critical. Your vector containing the boundary conditions should start at the bottom left of the square and rotate counterclockwise around the edge, not including corners. That is:
Your uint vector should contain the interior nodes in the ordering:
My code will reshape your uint vector and put it in the right place in the matrix. My code will also display some plots. Matlab Grader will check your values of the wint vectors and A matrix.
Script
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
