Numerical analysis of a method to measure the complex sound pressure reflection