Newmark Sliding Block Analysis
%Newmark Sliding Block Analysis (NewmarkSb)
%--------------------------------------------------------------------------
% Newmark Sliding Block analysis is a popular method in geotechnical engineering
% to calculate displacments assuiming rigid plastic behaviour under dynamic loading
%
% SYNTAX
% NewmarkSb (time,acc,ky)
%
% INPUT
% [tm] : time data [nx1]
% [acc]: Acceleration data in units of g [nx1]
% [ky]: yield acceleration in units of g [1x1]
%
% OUTPUT
% subplot 1: Input Acceleration Time History (Base Acceleration)
% subplot 2: Absolute Acceleration of the block
% subplot 3: Relative Acceleration of the block
% subplot 4: Relative Velocity of the block
% subplot 5: Relative Displacement of the block
%
%
% EXAMPLE
% - for a square pulse
% tm = [[0:0.0001:0.5],[0.5+0.0001:0.0001:0.7],[0.7+0.0001:0.0001:2]];
% acc = [linspace(0,0,(0.5/0.0001)),linspace(0.5,0.5,(0.2/0.0001)+1),linspace(0,0,(1.3/0.0001))];
% ky = 0.2;
% NewmarkSb (tm,acc,ky);
%
%==========================================================================
% 2016 By: Sumeet Kumar Sinha (sumeet.kumar507@gmail.com)
Cite As
Sumeet (2026). Newmark Sliding Block Analysis (https://se.mathworks.com/matlabcentral/fileexchange/57758-newmark-sliding-block-analysis), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
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 | |
|---|---|---|---|
| 2.0.0.0 | Newmark Sliding Block Analysis
|
