Comparison between two methods in frequency domain for dynamic identification