These are Matlab functions that i use in most of my other projects.