There are several software options and MATLAB codes that can be used to match accelerograms to an arbitrary displacement spectrum. Here are a few options:
OpenSees (Open System for Earthquake Engineering Simulation): OpenSees is an open-source software framework for simulating the behavior of structural and geotechnical systems. It has a wide range of capabilities for earthquake engineering analysis, including the ability to match accelerograms to displacement spectra. It uses Tcl scripting language, but it can be integrated with MATLAB using the OpenSees MATLAB Toolbox.
MATLAB: MATLAB itself provides a robust platform for signal processing and analysis. You can write your own MATLAB code to match the accelerograms to the displacement spectrum. The Signal Processing Toolbox in MATLAB offers functions for filtering, spectral analysis, and other relevant operations that can be useful in this context.
PEER Strong Motion Database: The Pacific Earthquake Engineering Research Center (PEER) provides a comprehensive database of strong motion accelerograms. It includes a MATLAB code called "smcsmatch" that can be used to match accelerograms to target spectra. This code allows you to specify the target spectrum and the number of accelerograms to match.
MARS: The MATLAB Accelerogram Record Selection (MARS) software is specifically designed for selecting and scaling ground motion records to match a target spectrum. It uses a database of ground motion records and implements various scaling techniques. MARS provides a graphical user interface (GUI) for easy interaction.
These are just a few options, and the choice depends on your specific requirements and familiarity with the software or code. You can explore these options and determine which one best suits your needs.