Added matlab code example from web

could be an interesting read