Why not read the help?
Or contact the author?
Why ask us to download the function from the file exchange, then read the help, and then re-write the help here for you?
I assume this is the one to which you refer:
But there may well be others.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!