arias-intensity
Version 1.0 (9.39 KB) by
Pablo P
Function in matlab to calculate AI (Arias Intensity) parameter from a seismic accelerogram
Arias Intensity
Function in matlab to calculate AI (Arias Intensity) parameter from a seismic accelerogram
Usage
The arias intensity function is defined by:
ai = arias_intensity(t, acc)Where:
| Variable | Description |
|---|---|
| t | Time of the seismic accelerogram |
| acc | Acceleration (g) of the seismic accelerogram |
Example
Lets suppose that a seismic registry is stored on data/CNV_APED_201604162359_N_100.txt, the file structure is like:
0.000000 -6.329500
0.010000 2.539600
0.020000 12.822900
0.030000 9.435300
0.040000 -5.397100
0.050000 -14.233900
...
Then:
ai = arias_intensity(t, acc);
>> ai = 0.198232License
This project is licensed under GPLv2 [https://www.gnu.org/licenses/gpl-2.0.html]
Author
Pablo Pizarro R. | 2017
Cite As
Pablo P (2026). arias-intensity (https://github.com/ppizarror/arias-intensity/releases/tag/1.0), GitHub. Retrieved .
MATLAB Release Compatibility
Created with
R2022a
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0 |
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.

