AWF's Utility Library
A collection of mostly matlab utilities. See
for the autogenerated matlab help files. To install, clone the repository (from the Source Code) tab above, and follow the README.txt.
The awf utility library: A collection of awf utilities The au_ prefix is because it's important in matlab's flat namespace that clashes of function names are avoided.
Symbolic toolbox helpers
||Extract polynomial coefficients from symbolic expr
||Generate optimized C code from symbolic expression.
||Generate code for function and derivatives
Faster/more convenient alternatives to matlab builtins
||Create sparse matrices with low time/space overhead.
||A value class that implements a broadcastable data type
Printing and testing
||Compact print of matrices.
||Hierarchical print of object.
||Utilities for writing unit tests
||Run all tests in the library
||Home-grown LM with line search
||Flatten arbitrary structure/cell a linear vector x.
||Unflatten arbitrary structure/cell from a linear vector x.
||Compute log(sum(exp(M))) stably
File I/O helpers
||File scan line by line splitting on regexp
||Remove directories matching REGEXP from PATH
||C++ helper classes for MEX file writers.
The library also contains
au_mex.h, a collection of C++ classes which greatly simplify mex file writing.