Converting acceleration to displacements records

Version 2.1 (1.33 MB) by E. Cheynet
The Discrete Fourier transform is compared to the double integration technique when transforming acceleration to displacement records


Updated 14 May 2020

From GitHub

View License on GitHub

Converting acceleration to displacements records

View Converting acceleration to displacements records  on File Exchange



The present submission introduces a simple function ASD.m that is inspired by [1] 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 [2]
  • 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. [1] for the function iomega.




Cite As

E. Cheynet (2023). Converting acceleration to displacements records (, GitHub. Retrieved .

E. Cheynet. ECheynet/ASD: Converting Acceleration to Displacements Records. Zenodo, 2020, doi:10.5281/ZENODO.3827447.

View more styles
MATLAB Release Compatibility
Created with R2019b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Version Published Release Notes

See release notes for this release on GitHub:


New example file added + correction of the description of the function ASD


Title updated + description updated


To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.