Matlab Page

Richard E. Strauss


Matlab is an "integrated technical computing environment that combines numeric and symbolic computation, advanced graphics and visualization, and a high-level programming language".  I've found it to be a powerful and flexible tool for statistical analysis, simulation, prototyping, and modeling.  It's two major advantages over other languages are that: (1) it is a function-based language, allowing it to be individually tailored, extended, and documented; and (2) it operates directly on matrices rather than scalars.  Matlab is a product of The Mathworks, Inc.

The following libraries consist of "toolboxes" of Matlab functions that I have developed since 1993.  They consist primarily of functions for univariate and multivariate statistical analyses, particularly those useful in morphometrics and systematics.  Note that many of these functions make calls to functions in the Matlab Statistics and Optimization toolboxes.  A few also make use of the Image Processing toolbox.

The relevant library should be down-loaded and unzipped into a directory within the Matlab directory (or within the toolbox directory, if you prefer).  In either case, the name of the directory must be added to the Matlab path; see the path and addpath commands for instructions.

These functions are currently being tested and modified for Matlab v7 (release R2010a).  Be careful in using these functions with Matlab v7.  The rules for path precedence have changed: if an existing function on the path has the same name as a built-in function, the built-in function has precedence.  I am in the process of identifying and renaming any of my functions having the same name as a built-in function.  Also, Matlab v7 began to enforce case sensitivity for functions and their associated m-filenames, and I've been somewhat sloppy with this in the past.  I'm in the process of correcting this, but meanwhile you can disable case-sensitivity with the following statement:



Catalog of functions in my Matlab v6/v7 library (PDF file, last updated 29 Feb 2015)

Matlab v6/v7 library (zipped file, last updated 12 Mar 2015)


As usual with freeware, you get what you pay for.  These are working libraries, used intensively (and often modified) on a day-to-day basis.  Although most functions have been thoroughly tested, no warranties are expressed or implied.  These functions are intended for academic and educational use and are not to be used for commercial purposes.

If you send me your email address I will inform you whenever substantive updates have occurred.  As a means of justifying this work to those who care, I would be very much interested in receiving citations to or copies of published works that use or cite any of these functions.  And if you find bugs or otherwise have problems or suggestions, please contact me at

If you use this software in preparing a research paper, grant proposal, or other publication, I would appreciate your acknowledging it by citing it in the references. Here is a suggested bibliography entry in "author (date)" style:   Strauss, R. E. (2012). Matlab statistical functions [computer software]. Retrieved month day, year, from





| Matlab Links |

| Strauss Home Page | Biological Sciences | Texas Tech University |


since 27 April 2004