**collocation_test**,
a MATLAB code which
calls collocation(), which
implements the collocation method, a general technique which
begins with an equation satisfied by a function f(x) defined over a
continuous domain, and uses collocation to produce a function g(x)
from some specified collocation function space, which solves the equation
exactly, but only at a discrete set of points.

The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.

collocation, a MATLAB code which demonstrates some simple examples of the use of collocation to produce a function g(x) that satisfies the same constraints as a function f(x), but only at a discrete set of points.

- collocation_test.m, a sample calling program.
- collocation_test.sh, runs all the tests.
- collocation_test.txt, the output file.

- collocation_test01.m, construct a collocation solution to f(x)=sin(x), using equally spaced points and a polynomial.
- collocation_test01.png
- collocation_test02.m, construct a collocation solution to a two point boundary value problem using equally spaced points and a polynomial.
- collocation_test02.png
- collocation_test03.m, construct a collocation solution to a two point boundary value problem using equally spaced points and a sum of sine functions.
- collocation_test03.png
- collocation_test04.m,
- collocation_test04.png