Zpk matlab example. Modifying your m-file with the following .