Time delay system matlab template (.m file)