**sine_transform_test**,
a MATLAB code which
calls sine_transform(), which
demonstrates some simple properties of the discrete sine transform
for real data.

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

sine_transform, a MATLAB code which demonstrates some simple properties of the discrete sine transform.

- sine_transform_test.m, calls all the tests;
- sine_transform_test.sh, runs all the tests;
- sine_transform_test.txt, the output file.

- sine_transform_test01.m, demonstrates that the transform is its own inverse.
- sine_transform_test02.m, uses the functional form of the transform.
- sine_transform_test03.m, evaluates the sine transform interpolant for a polynomial.
- sine_transform_test03.png, a PNG image comparing the function and interpolant.
- sine_transform_test04.m, evaluates the sine transform interpolant for a sum of cosines.
- sine_transform_test04.png, a PNG image comparing the function and interpolant.
- poly5.m, evaluates a particular fifth-degree polynomial;
- cosine_sum.m, evaluates a function which is the sum of cosines.