Simple But Devious MATLAB Programming Mistakes

**MATLAB_MISTAKE**,
MATLAB programs which
illustrate some simple but devious programming mistakes in MATLAB.

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

**MATLAB_MISTAKE** is available in
a C version and
a FORTRAN90 version and
an HTML version and
a MATLAB version.

- matlab_mistake_test01.m, we put numbers in an array, except they don't seem to get there!
- matlab_mistake_test02.m, we try to create the -1, 2, -1 tridiagonal matrix but...we don't!
- matlab_mistake_test03.m, we try to create the array [ cos ( alpha ), sin ( alpha ) ] but...we can't!
- matlab_mistake_test04.m, the command "abs x" seems to work...almost.
- timestamp.m, prints the YMDHMS date as a timestamp.

- matlab_mistake_test.m, calls all the tests.
- matlab_mistake_test.txt, the output file.

You can go up one level to the MATLAB source codes.