7. Concluding remarks In the present study, a new method is proposed for modifi- cation/reconstruction of ground motions utilizing a metaheuristic algorithm and wavelet transformation. From the results obtained, the following conclusions can be derived: (i) The accelerograms are modified in time and frequency domain using the wavelet transformation such that the response spectrums get closer to the target spectrum. (ii) A common method for solving spectral matching problem is iterative wavelet-based approach and this procedure has some disadvantages.However,intheproposedmethod,thisproblem is formulated as a constrained optimization problem leading to some improvements such as: modification of a set of ground motion and handling the manual requirements. (iii) The Eurocod-8 is utilized for spectra matching requirements and definition of target spectra. In the proposed method, the penalty function is employed to satisfy the corresponding requirements. (iv) The problem is non-convex and has some local optima because of using the overlapping frequency domain in wavelet transformation having some constraints. Hence the selection of an efficient optimization algorithm is an important issue for handling this problem. (v) An improved version of the recently developed metaheuristic algorithm called enhanced colliding bodies optimization is used to reduce the error between the response and target spectra. A comparative study of ECBO and CBO algorithms on modifying four sets of accelerograms clearly indicate that the response modified spectrums obtained by ECBO are closer to the target spectrum than those obtained by the CBO. (vi) It should be noted that the purpose of this paper has been the introduction of a new method for spectra matching of accelerograms. This goal can also be achieved by considering different target spectrums, manual requirements, optimization algorithms and transformation functions such as wavelet packet and S transform.