Coder Social home page Coder Social logo

linearnewmark's Introduction

Single degree of freedom elastic response

Linear newmark method is used for the computation.

The script takes the following input :

T : Spectral acceleration period for the computation
z : Damping ratio (z = 0.05 for 5% damping)
ag : The acceleration time history of input ground-motion
Dtg : The discreet time interval at which the input acceleration is recorded

The script returns the following:

S
|-S.d : Spectral displacement
|-S.v : pseudo spectral velocity [S.d * ( 2 * pi / T )]
|-S.a : pseudo spectral acceleration [S.d * ( 2 * pi / T ) ^ 2]

H
|-H.d : Time history of the displacement response of the oscillator
|-H.v : Time history of the velocity response of the oscillator
|-H.a : Time history of the acceleration response of the oscillator

Compilation

Before using the script in Matlab, the C file needs to be compiled into a mex file. To compile the C file type "mex linearNewmark_TH.c" in the matlab command line window and follow the onscreen instructions. After compilation you can call the getLinearSpectra_withTH.m as any standard Matlab function.

License

The sofware is released under the MIT license. (http://opensource.org/licenses/MIT)

linearnewmark's People

Contributors

shreyshahi avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

sanjianke87

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.