Numerical study of zeno and anti-zeno effects in a local potential model