O'Reilly logo

GNU Octave by Jesper Schmidt Hansen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Implementation and package functions

Above, it was shown that we need to solve the equation:

Implementation and package functions

(6.18)

where A is the coefficient matrix, given in Equations (6.14) and (6.17), φ is the vector that we are trying to find and represents, for example, the temperature at the grid points. The vector b has elements given by the source term and grid distance for interior grid point, as well as the boundary conditions for boundary points. We may write this as:

Implementation and package functions

(6.19)

To solve the Poisson equation, we basically need to:

  1. Specify the source term and the boundary values. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required