update discrete matlab example for new transys