arias-intensity

version 1.0 (8.28 KB) by Pablo P
Function in matlab to calculate AI (Arias Intensity) parameter from a seismic accelerogram

37 Downloads

Updated 2 Apr 2017

From GitHub

View License on GitHub

Arias Intensity

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.198232

License

This project is licensed under GPLv2 [https://www.gnu.org/licenses/gpl-2.0.html]

Author

Pablo Pizarro R. | 2017

Cite As

Pablo P (2022). 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 Linux
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!
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.