A collection of useful matlab scripts