Insert the keywords you are searching for: this is the easiest and simplest way to find the source code you need in AdvancedSourceCode.Com.
This service is powered by Google.
Links to resources of interest to Matlab users:
Note to the reader: more links may refer to the same code, used only for web positioning.