Watch this Author's files
It was a summer student's project for a few months. This is actually the second version during the second summer, completely rewritten from the first.
Indeed I was very impressed with her work.
This is one of the most comprehensive MATLAB submission I've seen...detailed work and very good user manual. Thanks bro.
[PS: Did create this as part of a Masters or PhD work?]