The present submission introduces a simple function ASD.m that is inspired by  but includes also the possibility to use the double integration technique instead of the Discrete Fourier Transform (DFT) when transforming acceleration records to displacement records. The simple right-hand difference technique is also implemented as an alternative to the DFT for transforming displacement data to acceleration data.
The function also includes the possibility to compute the velocity histories from the acceleration of displacement records.
The submission contains three files:
- The function ASD.m, which is an acronym for Acceleration-Speed-Displacement.
- Two data file data_bridge.mat and data_beam.mat that contains the computed vertical acceleration, velocity and displacement response from a suspension bridge and a cantilever beam, respectively. The data set is created using 
- Two example files Example1.mlx and Example2.mlx, that illustrates how the function ASD.m can be called.
The is the second version of the submission, Several typos may still be present as well as bugs. Any suggestion, comment or question is welcomed. Credits for the present submission should also go to ref.  for the function iomega.
E. Cheynet (2020). Converting acceleration to displacements records (https://github.com/ECheynet/ASD/releases/tag/v2.1), GitHub. Retrieved .
E. Cheynet. ECheynet/ASD: Converting Acceleration to Displacements Records. Zenodo, 2020, doi:10.5281/ZENODO.3827447.
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!