What is the algorithm used by del2 at the boundaries of a matrix in MATLAB?
3 views (last 30 days)
Show older comments
Eli Iglesias
on 21 Apr 2020
Commented: Bjorn Gustavsson
on 21 Apr 2020
The help page on del2 details the algorithm used for the interior points of any matrix. However, I am trying to use del2 to model heat flow with adiabatic boundary conditions. I would like to know how del2 is computing the gradient at the boundaries in an equal amount of detail.
0 Comments
Accepted Answer
Bjorn Gustavsson
on 21 Apr 2020
Try either of:
edit del2
type del2
HTH
2 Comments
Bjorn Gustavsson
on 21 Apr 2020
On the other hand: "read the source Luke".
There you see what it actually does and the function isn't exactly long. I couldn't be bothered to figure out how that del2 works for your PDE, and even if I tried and misunderstood...
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!