Estimation of coefficients in a hyperbolic equation with impulsive inputs