Contenu principal

Practical Introduction to Shock Waveform and Shock Response Spectrum

R2026b
Since R2023b

This example demonstrates how to compute and interpret shock response spectra (SRS) for synthetic and measured transient acceleration signals. An SRS characterizes the peak response of single-degree-of-freedom systems to transient excitation and is widely used to assess shock environments and estimate structural response for impulsive events such as earthquakes, underwater explosions, stage separation, and pyrotechnic shocks. The example reviews representative simple and experimental shock waveforms, illustrates how peak definitions and response segmentation influence the resulting spectra, and compares SRS for several shock signals. It also demonstrates how to compute and interpret the pseudo-velocity shock spectrum (PVSS) using tripartite plots and concludes with a compound drop-table shock case study illustrating practical shock analysis.

Transient Data and Transient Analysis

An input to a system is considered transient if the input parameters change faster than the system time scale, which may be taken as the natural period or the decay time [1]. For example, consider a second-order system with natural period 100 milliseconds driven by a sinusoidal input whose amplitude changes by a factor A over a time interval T. If T is 10 minutes, the output at any time during this period can be accurately predicted. The output is a sine wave of the same frequency as the input, and its magnitude varies linearly with time by the same factor A. If, on the other hand, the change in level occurs in 1 millisecond, transient analysis techniques must be used to predict the output during the change and shortly thereafter. Thus, the classification of a particular time history as transient depends on how the system of interest responds to this time history. Mechanical shocks are usually of great interest in the design and operation of physical systems because the instantaneous input levels are larger than the steady-state inputs by an order of magnitude or more.

The ultimate goal of transient analysis is the determination of the damage potential of a shock upon a physical system [1]. The objective is to design the system to survive the shock environment or to attenuate the shock input to the system using packaging or attenuation devices. Survival of a shock excitation can mean one of two things:

  • The system exhibits no permanent damage after the shock

  • The system exhibits no degradation of performance either during or after the shock

As an example of the first definition, consider a microwave oven that has been accidentally dropped on the floor. Whether the microwave functions properly during the drop is of no concern. Even if calibration has to be performed after the drop, it is of no concern as long as the microwave is not permanently damaged by the fall and continues to function. As an example of the second definition, consider the launching of a satellite. If the shock that occurs in the satellite's body structure due to the separation of the satellite from the rocket in space causes even a brief malfunction of the onboard systems, the satellite will fail to propel itself to orbit and complete its mission. In this case, the system is not damaged permanently yet fails the second definition of survival.

The design of a system that withstands its shock environment requires the definition of this environment with reasonable accuracy because survival is not the only design factor. For example, weight and size are also frequently important and, yet, usually inversely related to the shock resistance of a system. The strength of a system is usually weight-dependent, while the packaging of the system to reduce shock input is usually size-dependent. However, in many applications, size and weight must be minimized, for example, in space applications where small weight increases require large increases in booster performance. Thus, the system must be able to withstand the shock environment but cannot have a large safety factor because of the weight restriction.

Shock Waveform

Shock refers to the sudden modification of a force, position, velocity, or acceleration resulting in a temporary state change of the considered system. This modification is deemed abrupt if it occurs within a period that is significantly shorter than the relevant system's natural period, as defined in [2], [3], [4]. Shock is characterized as a vibration that persists for a duration ranging between the natural period of the stimulated mechanical system and twice the natural period. The measurement of shock involves tracing the value of a shock parameter over time during the shock's duration, which is referred to as a time history [3].

A shock that can be precisely expressed in uncomplicated mathematical equations is known as a simple or perfect shock [3]. A general simple shock waveform can be expressed as [5],[6]

sg(t)={A(tτ)+ζωτe-ζω(t-τ)+j(ωt+φ)u(t),τ≥0A(tτ)-ζωτe+ζω(t-τ)+j(ωt+φ)(1-u(t)),τ<0

where ω is the resonant frequency of the carrier wave, ζ denotes the damping ratio which influences the duration of the shock waveform, and

  • τ denotes the duration between the initial time and the peak time, with its sign indicating whether the envelope rises to a peak or decays from an initial peak

  • A is the maximum of the envelope curve

  • φ is the phase

  • u(t) is the unit step signal: u(t)=1 for t>0 and 0 otherwise

The complex exponential form is used for notational convenience; the physical acceleration waveform is given by the real part of sg(t). The shock waveform expressed above can be considered an amplitude-modulated harmonic waveform. This figure shows the time history and spectrum of a general simple shock with φ=π⌊τωπ⌋-τω where ⌊⋅⌋ denotes the floor function. To see details on plotGeneralSimpleShockWaveform and other functions used in the example, refer to Appendix – Helper Functions.

generalShockWaveformParams = struct( ...
    SampleRate=1e5, ...                                   % Hz
    MaxEnvelope=9.81, ...                                 % m/s^2
    CarrierFrequency=2000, ...                            % Hz
    DampingRatio=2.5, ...
    PeakTime=0.01, ...                                    % s
    Phase=pi*floor(0.01*2*pi*2000/pi)-0.01*2*pi*2000, ... % rad
    Duration=0.02 ...                                     % s
    );
plotGeneralSimpleShockWaveform(generalShockWaveformParams)

Figure contains 2 axes objects. Axes object 1 with title Time History, xlabel Time (ms), ylabel Acceleration (m/s^2) contains an object of type line. Axes object 2 with title Fourier Transform, xlabel Frequency (Hz), ylabel Magnitude contains an object of type line.

Standards typically define four simple shock waveforms:

  • Half-sine shock: shs(t)=Asin(πT0t) if t∈[0,T0], and 0 if t∈(T0,T]

  • Versed sine (or haversine) shock: svs(t)=A2[1-cos(2πT0t)] if t∈[0,T0], and 0 if t∈(T0,T]

  • Terminal peak sawtooth shock: stps(t)=AtT0 if t∈[0,T0], and 0 if t∈(T0,T]

  • Rectangular shock waveform: srect(t)=A if t∈[0,T0], and 0 if t∈(T0,T]

where A, T0, and T denote the amplitude, width, and duration of the waveform, respectively. The figure below displays these four simple shock waveforms, each of which has a width of 10 milliseconds, a duration of 20 milliseconds, and an amplitude of 9.81 m/s2.

simpleShockWaveformParams = struct( ...
    SampleRate=1e5, ... Hz
    Amplitude=9.81, ... m/s^2
    Width=1e-2, ...     s
    Duration=2e-2 ...   s
    );
plotStandardSimpleShockWaveforms(simpleShockWaveformParams)

Figure contains an axes object. The axes object with title Standard Simple Shock Waveforms, xlabel Time (ms), ylabel Acceleration (m/s Squared baseline ) contains 4 objects of type line. These objects represent Half sine, Versed sine, Terminal peak sawtooth, Rectangular.

The shock waveforms that occur in the real world do not lend themselves to closed form expressions. This figure displays (a) a far-field metal-metal mechanical-impact shock that is synthesized using the general shock waveform expression and the parameters in [5], (b) a real world transient seismic shock waveform [7], and (c) an experimental underwater explosive (UNDEX) shock [8].

plotExperimentalShockWaveform

Figure contains 3 axes objects. Axes object 1 with title (a) Synthetic Mechanical Impact Shock contains an object of type line. Axes object 2 with title (b) Seismic Shock contains an object of type line. Axes object 3 with title (c) UNDEX Shock contains an object of type line.

The three experimental time histories differ strongly in duration and sharpness. These differences translate into different frequency-dependent shock severity, which is captured compactly by the shock response spectrum.

Shock Response Spectrum

The response of a system to a shock can be described by the time history of a motion quantity such as displacement, velocity, or acceleration. In many engineering applications, the primary concern is the maximum response that occurs during the transient event. For a linear system, these peak responses depend on the system's natural frequency and quality factor (or equivalently, damping ratio). Plotting the peak response as a function of natural frequency produces a shock response spectrum (SRS), also referred to as a response spectrum or shock spectrum [3].

Originally introduced by Biot for seismic analysis, the SRS has since become a standard tool in aerospace, defense, transportation, and packaging applications. It is widely used to assess shock severity, compare measured and simulated environments, and define qualification requirements [1], [9]. By expressing structural response in terms of natural frequency and quality factor, the SRS provides a systematic reduction of transient shock data into the response domain [3].

The SRS is based on the response of a linear, viscously damped single-degree-of-freedom (SDoF) oscillator subjected to a base acceleration input. The resulting curve characterizes the frequency-dependent severity of the shock environment. For a natural frequency fn and quality factor Q (related to damping ratio ζ by Q=1/(2ζ)), the relative displacement of the mass with respect to the base, denoted by z(t), satisfies

z¨(t)+ωnQz˙(t)+ωn2z(t)=-x¨(t)

where x¨(t) is the base acceleration and ωn=2πfn is the natural angular frequency. From this response, quantities such as absolute acceleration, relative displacement, relative velocity, or pseudo-velocity can be computed. Pseudo-velocity is often used because it correlates closely with peak modal stress in lightly damped systems. The SRS is obtained by evaluating the oscillator response over the input record and extracting a specified peak value for each natural frequency in the analysis grid. Additional theoretical details and algorithmic background are provided in the More About section of srs documentation page.

In practice, the continuous-time SDoF model must be discretized to evaluate the oscillator response from sampled acceleration data. Different numerical methods can affect high-frequency accuracy. The srs function implements the Smallwood and prefilter-Smallwood methods, which are commonly used for improved high-frequency performance. The following example illustrates their behavior for a representative half-sine shock waveform.

simpleShockWaveformName = "half-sine";
simpleShockWaveformParams.WaveformName = simpleShockWaveformName;
simpleShock = helperGenerateSimpleShockWaveform(simpleShockWaveformName, ...
    simpleShockWaveformParams.SampleRate, ...
    simpleShockWaveformParams.Amplitude, ...
    simpleShockWaveformParams.Width, ...
    simpleShockWaveformParams.Duration);

In the figure below, the absolute-acceleration SRS of a half-sine shock waveform of the width of 10 milliseconds, duration of 20 milliseconds, and amplitude of 9.81 m/s2 is computed using the prefilter-Smallwood method. The sample rate fs is 100 kHz and the natural frequencies at which the SRS is computed belong to the interval [0.00001fs,0.04fs] Hz. When dealing with high frequencies, it is important to note that the shock spectrum level approaches the maximum base acceleration. The understanding of this behavior can be aided by looking at the free-body diagram of an SDoF oscillator. Typically, when acceleration is applied to the base of this oscillator, the acceleration of the mass is amplified, as seen in the middle region of the figure. However, if the oscillator has a high frequency and a relatively stiff spring compared to the mass, it behaves like a rigid body relative to the base. In this regime, the mass moves nearly in phase with the base, with very little relative motion. As a result, the absolute acceleration approaches the base accelerations, including its peak value [4].

fig = figure;
ax = axes(Parent=fig,Box="on");
srs(simpleShock,simpleShockWaveformParams.SampleRate, ...
    RolloffMethod="prefilter",Parent=ax);

Figure contains an axes object. The axes object with title Shock Response Spectrum, xlabel Natural Frequency (Hz), ylabel Absolute Acceleration (m/s Squared baseline ) contains an object of type line.

Several peak definitions can be used when constructing an SRS. The maximax spectrum records the maximum absolute response at each frequency. The maximum positive (maxpos) and maximum negative (maxneg) spectra retain only positive or negative excursions, respectively. In addition, the spectrum can be divided into primary (in-excitation) and residual (post-excitation) components. These options are controlled using the PeakType and ResponseSegment parameters of the srs function. The boundary between the in-excitation and post-excitation intervals is specified by the ShockLength parameter.

This figure shows the absolute-acceleration SRS of a half-sine shock for different peak definitions, illustrating how peak selection emphasizes different aspects of the oscillator response. At low natural frequencies, oscillatory relative motion produces comparable positive and negative excursions in the response. Near the dominant frequency content of the shock signal, both polarities contribute significantly to the peak response. As the natural frequency increases and the oscillator behaves increasingly as a rigid body, the maximum negative response approaches toward zero, because in the rigid-body regime, the mass acceleration closely follows the (positive) base acceleration pulse and there is little relative motion to generate an opposite-polarity excursion. In this regime, the maximax and maximum positive spectra converge to the same high-frequency asymptote.

fig = figure;
ax = axes(Parent=fig,Box="on");
srs(simpleShock,simpleShockWaveformParams.SampleRate, ...
    PeakType="maxpos",Parent=ax);
hold(ax,"on")
srs(simpleShock,simpleShockWaveformParams.SampleRate, ...
    PeakType="maxneg",Parent=ax);
hold(ax,"off")
hlgn = legend(ax,["maxpos" "maxneg"],Location="southwest");
title(hlgn,"Peak Type")

Figure contains an axes object. The axes object with title Shock Response Spectrum, xlabel Natural Frequency (Hz), ylabel Absolute Acceleration (m/s Squared baseline ) contains 2 objects of type line. These objects represent maxpos, maxneg.

This figure shows the maximax absolute-acceleration SRS of a half-sine shock, with ShockLength in srs set equal to the shock width of 10 milliseconds. The figure illustrates how the shock response separates into in-pulse and post-pulse contributions. At low and mid natural frequencies, a significant portion of the peak response arises from elastic energy stored during the excitation and released during subsequent free vibration. As the natural frequency increases, progressively less energy is stored in the oscillator during the shock, so the post-pulse contribution diminishes and the residual spectrum approaches zero. The primary spectrum, which reflects the in-pulse peak, remains finite and approaches the peak base acceleration at high frequencies.

fig = figure;
ax = axes(Parent=fig,Box="on");
hold(ax,"on")
srs(simpleShock,simpleShockWaveformParams.SampleRate, ...
    NaturalFrequency=linspace(1,500,100), ...
    ResponseSegment="primary", ...
    ShockLength=seconds(simpleShockWaveformParams.Width), ...
    Parent=ax);
srs(simpleShock,simpleShockWaveformParams.SampleRate, ...
    NaturalFrequency=linspace(1,500,100), ...
    ResponseSegment="residual", ...
    ShockLength=seconds(simpleShockWaveformParams.Width), ...
    Parent=ax);
hlgn = legend(ax,["primary" "residual"], ...
    Location="northeast");
title(hlgn,"Response Segment")

Figure contains an axes object. The axes object with title Shock Response Spectrum, xlabel Natural Frequency (Hz), ylabel Absolute Acceleration (m/s Squared baseline ) contains 2 objects of type line. These objects represent primary, residual.

Examples of Shock Response Spectra

This section displays the SRS for the general waveform, the four standard waveforms, and the four experimental waveforms, computed using these parameters:

Q = 10;
peakType = "maximax";
  • General Simple Shock Waveform

plotGeneralShockSRS(Q,peakType,generalShockWaveformParams)

Figure contains an axes object. The axes object with title SRS of General Simple Shock Waveforms (Q = 10, Prefilter-Smallwood, maximax), xlabel Natural Frequency (Hz), ylabel Absolute Acceleration (m/s Squared baseline ) contains an object of type line.

  • Standard Simple Shock Waveform

plotSimpleShockSRS(Q,peakType,simpleShockWaveformParams)

Figure contains 4 axes objects. Axes object 1 with title half-sine contains an object of type line. Axes object 2 with title versed-sine contains an object of type line. Axes object 3 with title terminal-peak-sawtooth contains an object of type line. Axes object 4 with title rectangular contains an object of type line.

  • Experimental Shock Waveform

plotExperimentalShockSRS(Q,peakType)

Figure contains 3 axes objects. Axes object 1 with title Synthetic Mechanical Impact Shock contains an object of type line. Axes object 2 with title Seismic Shock contains an object of type line. Axes object 3 with title UNDEX Shock contains an object of type line.

The SRS plots reveal how each transient loads structures across frequency. The seismic record primarily excites low-frequency oscillators, while the impact and UNDEX records produce higher SRS levels at mid and high natural frequencies due to their sharper onsets and shorter time scales. Peaks and broad bands in the SRS indicate frequency ranges where lightly damped components are most likely to experience large responses.

Pseudo-Velocity Shock Spectrum (PVSS)

The pseudo velocity VPV associated with an SDoF oscillator of natural angular frequency ωn, subjected to a base acceleration input is defined as

VPV=ωnzmax

where zmax denotes the extremum (positive, negative, or maximax) of the relative displacement during or after the shock event. Although VPV has units of velocity, it is not generally equal to the instantaneous velocity z˙(t). For harmonic motion, z(t)=Zsin(ωnt), the peak velocity satisfies z˙max=ωnZ, so the pseudo velocity coincides with the true velocity amplitude.

For transient shock motions, pseudo velocity serves as a mathematically convenient and physically meaningful surrogate for the peak modal velocity that governs elastic stress. A pseudo-velocity shock spectrum (PVSS) is obtained by computing VPV for a bank of oscillators with logarithmically spaced natural frequencies, thereby characterizing shock severity as a function of structural frequency.

The physical significance of pseudo velocity is rooted in modal analysis. For lightly damped structures responding near resonance, peak strain energy and peak stress scale with modal displacement and velocity amplitudes. In the linear elastic regime, the maximum stress in a mode is therefore approximately proportional to its modal participation factor multiplied by its pseudo-velocity response. Consequently, VPV provides a compact and physically interpretable measure of modal stress severity across frequency, which explains why PVSS serves as an effective indicator of structural damage potential.

Consequently, PVSS is widely used as a practical proxy for modal stress severity across a broad range of natural frequencies. Relative to displacement- or acceleration-based shock spectra, pseudo velocity offers a more balanced measure of shock severity:

  • Displacement SRS emphasizes low-frequency rigid-body response, where relative displacement is largest, and can underrepresent the mid-frequency region in which resonant structural modes store elastic energy and sustain peak stress.

  • Acceleration SRS can overemphasize high-frequency content that may not correlate with structural failure in many applications.

  • PVSS often highlights the frequency band in which lightly damped structural modes are most likely to accumulate energy and sustain damage.

For this reason, PVSS has long been recognized as a primary descriptor of shock severity and is used extensively in naval, aerospace, civil, and defense applications.

Structure and Properties of the PVSS

The overall structure of the PVSS can be understood by examining its asymptotic behavior across frequency. For many canonical shock waveforms (half-sine, haversine, sawtooth), the pseudo-velocity spectrum exhibits three characteristic regions.

  1. Low-frequency asymptote (constant displacement): For oscillators with ωn small relative to the inverse shock duration, the system moves quasi-rigidly with the input. The relative displacement approaches a constant value zmax, and thus VPV=ωnzmax∝ωn yielding a +1 slope line on log-log axes. In simple impact scenarios (e.g., drop-table shocks), this asymptote is governed by the drop height.

  2. Mid-frequency region (pseudo-velocity plateau): In the central frequency band, the peak relative displacement approximately follows zmax∝ωn-1, producing a frequency-independent plateau in VPV. In this frequency band, the oscillator responds primarily to the velocity content of the input rather than its displacement or acceleration. For undamped oscillators subjected to simple shocks, Gaberson showed that this plateau equals the impact velocity Δv. Damping decreases the plateau level and introduces asymmetry between positive and negative peaks, thereby revealing shock polarity.

  3. High-frequency asymptote (constant acceleration): For large ωn, the oscillator responds primarily in acceleration. The relative displacement diminishes as zmax∝ωn-2, so pseudo velocity follows VPV∝ωn-1, generating a –1 slope on log-log axes. The high-frequency asymptote corresponds to peak acceleration content in the shock.

Together, these three regions produce the characteristic tripartite pattern that motivates the use of four-coordinate paper (4CP) for PVSS visualization, also referred to as tripartite plot. On 4CP, pseudo-velocity is plotted against natural frequency, with auxiliary grids that map the same point to equivalent displacement d=VPV/(2πf) and acceleration a=2πfVPV. This makes the constant-displacement (+1 slope), constant-velocity (plateau), and constant-acceleration (–1 slope) limits visually explicit.

This tripartite structure becomes especially transparent in the case of simple drop-table shocks. A useful property of the PVSS for idealized, undamped, no-rebound simple drop-table shocks is the so-called 2g-line concept introduced by Gaberson, which states that the low-frequency limit of the pseudo-velocity plateau occurs exactly where the plateau intersects the constant-acceleration grid line labeled 2g on tripartite paper, where g=9.81 m/s2 denotes the acceleration due to gravity on Earth [10]. Physically, a simple drop from height h produces an impact velocity change of 2gh. For an undamped SDoF, this velocity sets the plateau level of the PVSS, while the drop height governs the constant-displacement asymptote at low frequencies. Because these quantities are linked through the rigid-body impact relation, their intersection lies on the constant-acceleration grid line labeled 2g in the tripartite plot. In practice, rebound or damping breaks this exact equality: rebound modifies the effective velocity change, and damping suppresses the plateau, but for the ideal undamped case the 2g-line intersection provides a clean and intuitive way to understand and estimate the governing parameters of a simple drop shock directly from its PVSS.

While the 2g-line provides insight for ideal simple drops, real shock environments often consist of multiple sequential events. To illustrate how PVSS characterizes such cases, we first examine an idealized compound drop-table shock and then apply the same interpretation to a measured seismic record.

PVSS of Compound Shock Produced by a Drop-Table Shock Machine

Consider a compound shock consisting of

  1. A 0.3-meter free-fall drop, followed by

  2. A half-sine shock with a velocity change on impact of 2.426 m/s and a peak acceleration of 200g.

The width T0 of a half-sine shock with velocity change Δv and peak acceleration Amax is given by T0=πΔv2Amax, and the shock duration is typically extended to 1.5T0 to capture the full half-sine cycle. The helper function helperGenerateCompoundShock generates and plots such a compound shock waveform that can occur on a drop table shock machine.

compoundShockWaveformParams = struct(...
    SampleRate=1e5, ...       % Hz
    DropHeight=0.3, ...       % m
    ImpactVelocity=2.426, ... % m/s
    MaxAcceleration=200 ...   % g
    );
compoundShock = helperGenerateCompoundShockWaveform(...
    compoundShockWaveformParams);

Figure contains 3 axes objects. Axes object 1 with ylabel Accel. (m/s^2) contains an object of type line. Axes object 2 with ylabel Vel. (m/s) contains an object of type line. Axes object 3 with ylabel Disp. (m) contains an object of type line.

This figure shows the synthesized base acceleration (top) and its time integrals, base velocity (middle) and base displacement (bottom). The free-fall segment is modeled as -g, yielding a linear velocity ramp and quadratic displacement. The subsequent half-sine impact produces a rapid velocity change over a short interval. The record is constructed to have approximately zero mean acceleration, so the net change in base velocity over the full event is near zero, indicating that the analysis includes the complete drop-table motion (free fall plus impact), not the impact pulse alone.

Compute pseudo-velocity shock spectrum (PVSS) for different quality factors (damping ratio) and natural frequency ranging from 0.1 Hz to 10 kHz.

plotCompoundShockPVSS(compoundShock,compoundShockWaveformParams)

Figure contains an axes object. The axes object with title Shock Response Spectrum, xlabel Natural Frequency (Hz), ylabel Pseudo Velocity (m/s) contains 146 objects of type text, line. These objects represent Q = Inf (undamped), Q = 10, Q = 5, 2g reference line.

The tripartite plot makes the three asymptotic regions easy to identify: a low-frequency +1 slope (constant displacement), a mid-band pseudo-velocity plateau (maximum stress-severity band), and a high-frequency –1 slope (constant acceleration). The dashed 2g curve is a constant-acceleration reference, VPV(fn)=2g/(2πfn), independent of Q. As Q decreases, the plateau level drops and transitions become smoother, reflecting reduced stored modal energy. Because the base acceleration contains a low-frequency free-fall drop segment followed by a high-amplitude half-sine impact, the PVSS can exhibit a plateau set by the impact velocity change while the high-frequency rolloff is governed by the impact's peak acceleration.

PVSS of Experimental Seismic Shock

Apply the same PVSS interpretation tools to a measured seismic acceleration record and extract a compact mid-band severity summary.

plotSeismicPVSSSeverity

Figure contains an axes object. The axes object with title Shock Response Spectrum (Severity: 0.63 m/s over 0.15 - 1.71 Hz), xlabel Natural Frequency (Hz), ylabel Pseudo Velocity (m/s) contains 106 objects of type text, line. These objects represent Seismic PVSS, Constant-acceleration asymptote (-1 slope), Severity level, Bandwidth threshold.

This figure shows the PVSS of the seismic acceleration record on a tripartite plot. The blue curve is the computed PVSS, and the orange dash-dot line is a constant-acceleration reference (a –1 slope on PVSS) obtained by mapping the peak base acceleration Amax=max|x¨(t)| into pseudo velocity via VPV(fn)=Amax/(2πfn). At higher natural frequencies, the PVSS trends toward this acceleration-controlled behavior, while at low frequencies it reflects the record's displacement/velocity content.

To summarize mid-band severity, the PVSS is lightly smoothed to suppress narrow ripples, and an effective severity level is estimated as the median of the largest 10% of the smoothed PVSS values. The effective bandwidth is then defined as the widest contiguous frequency interval over which the smoothed PVSS remains above a fraction γ of this level (here γ=0.75). For this record, the resulting estimate is 0.63 m/s over 0.15-1.71 Hz (vertical dotted bounds), providing a compact description of the dominant mid-band pseudo-velocity level and its frequency extent.

Conclusion

This example demonstrated how SRS and PVSS can be used to compute and interpret the frequency-dependent severity of transient shocks. Using synthetic and experimental signals, the example showed how spectral features relate to oscillator dynamics and how PVSS highlights the frequency bands where structural response and stress are most significant. Together, SRS and PVSS provide practical tools for summarizing shock environments and supporting engineering analysis and design.

Acknowledgments

Seismic shock data [7] is obtained from the strong-motion data. Strong-motion data was accessed through the Center for Engineering Strong Motion Data (CESMD), last visited on July 5, 2023. The networks or agencies providing the data used in this report are the California Strong Motion Instrumentation Program (CSMIP) and the USGS National Strong Motion Project (NSMP).

References

[1] Kelly, Ronald D., and George Richman. “Principles and Techniques of Shock Data Analysis.” Washington: Naval Research Laboratory, 1969.

[2] Lalanne, Christian. Mechanical Vibration and Shock Analysis. Vol. 2: Mechanical Shock / Christian Lalanne. 2. ed. Vol. 2. London: ISTE, 2009.

[3] Piersol, Allan G., Thomas L. Paez, and Cyril M. Harris. Harris’ Shock and Vibration Handbook. 6th ed. New York: McGraw-Hill, 2010.

[4] Alexander, J. Edward. “Shock Response Spectrum-a Primer.” Sound and Vibration 43 (2009): 6–15.

[5] Yan, Yinzhong, and Q.M. Li. “A General Shock Waveform and Characterisation Method.” Mechanical Systems and Signal Processing 136 (February 2020): 106508. https://doi.org/10.1016/j.ymssp.2019.106508.

[6] Yan, Yinzhong, and Q.M. Li. “Effective Waveform Representation of Responsive Signals Initiated by Impulsive Actions in Physical and Engineering Systems.” International Journal of Engineering Science 147 (February 2020): 103199. https://doi.org/10.1016/j.ijengsci.2019.103199.

[7] COSMOS Virtual Data Center. “El Centro 1940-05-19 04:36:41 UTC - Component: 270,” May 1940.

[8] enDAQ. “Shock Analysis: Response Spectrum (SRS), Pseudo Velocity & Severity.” EnDAQ. EnDAQ Blog (blog), 2020. https://blog.endaq.com/shock-analysis-response-spectrum-srs-pseudo-velocity-severity.

[9] European Cooperation for Space Standardization. Mechanical Shock Design and Verification Handbook. Noordwijk, The Netherlands: ESA Requirements and Standards Division, 2015.

[10] Gaberson, Howard A. “Use of Damping in Pseudo Velocity Shock Analysis.” IMAC XXVI, www.sem.org, Orlando, FL (2008).

Appendix – Helper Functions

The functions listed in this section are only for use in this example. They may change or be removed in a future release.

helperGenerateGeneralShockWaveform Function: Generates a General Shock Waveform

The helperGenerateGeneralShockWaveform function generates a general shock waveform based on the expression proposed in [5].

function [sg,t] = helperGenerateGeneralShockWaveform(fs,A,f,tau,zeta,phi,T)
% HELPERGENERATEGENERALSHOCKWAVEFORM generates a general shock waveform

omega = 2*pi*f;

% Time vector
t = (0:1/fs:T)';

% Create general shock waveform
w = hGeneralShockWaveform([A omega tau zeta phi 0],t);
sg = sum(w,2);

end

% ------------------------------------------------------------------------
function w = hGeneralShockWaveform(theta,t)
% HGENERALSHOCKWAVEFORM generates shock waveforms specified by the
% parameter theta, which is an N-by-6 matrix. Each row in the matrix
% contains [A, omega, tau, zeta, phi, t0] where A is the maximum of
% envelope, omega is the carrier angular frequency, tau is the peak time,
% zeta is the damping ratio, phi is the carrier phase, t0 is the initial
% time.

arguments
    % Parameters of a general shock waveform
    theta (:,6) {mustBeFloat,mustBeFinite}
    % Time vector
    t {mustBeVector,mustBeFloat,mustBeFinite}
end

A = theta(:,1).';
omega = theta(:,2).';
tau = theta(:,3).';
zeta = theta(:,4).';
phi = theta(:,5).';
t0 = theta(:,6).';

% Convert time vector to a column vector
isRow = isrow(t);
if isRow
    t = t(:);
end

% Translate time vector
t = t-t0;

% Function handles
fpos = @(t,A,omega,tau,zeta,phi) A.*exp(zeta.*omega.*(tau-t)+zeta.*tau.*omega.*(log(t)-log(tau))).* ...
    exp(1j*(omega.*t+phi)).*(t > 0);
fneg = @(t,A,omega,tau,zeta,phi) A.*exp(zeta.*omega.*(t-tau)+zeta.*tau.*omega.*(log(tau)-log(t))).* ...
    exp(1j*(omega.*t+phi)).*(1-(t > 0));
fzero = @(t,A,omega,tau,zeta,phi) A.*exp(-zeta.*omega.*t).*exp(1j*(omega.*t+phi)).*(t > 0);

% Generate shock waveform
Ip = (tau > 0);
In = (tau < 0);
Iz = (tau == 0);

w = zeros(length(t),length(A));
if (sum(Ip) ~= 0)
    w(:,Ip) = fpos(t(:,Ip),A(Ip),omega(Ip),tau(Ip),zeta(Ip),phi(Ip));
end
if (sum(In) ~= 0)
    w(:,In) = fneg(t(:,In),A(In),omega(In),tau(In),zeta(In),phi(In));
end
if (sum(Iz) ~= 0)
    w(:,Iz) = fzero(t(:,Iz),A(Iz),omega(Iz),tau(Iz),zeta(Iz),phi(Iz));
end

if isRow
    w = w.';
end

end

helperGenerateSimpleShockWaveform Function: Generate Simple Shock Waveforms

The helperGenerateSimpleShockWaveform function generates a simple shock waveform with a specified sample rate fs, amplitude A, width T0, duration T.

function [x,t] = helperGenerateSimpleShockWaveform(name,fs,A,T0,T)
% HELPERGENERATESIMPLESHOCKWAVEFORM generates simple shock waveforms

% Time vector
t = (0:1/fs:T)';

% Pre-allocation
x = zeros(size(t));

% Create simple shock waveform
switch lower(name)
    case "half-sine"
        x(t<=T0) = A*sinpi(t(t<=T0)/T0);
    case "versed-sine"
        x(t<=T0) = (A/2)*(1-cospi(2*t(t<=T0)/T0));
    case "terminal-peak-sawtooth"
        x(t<=T0) = A*(t(t<=T0)/T0);
    case "rectangular"
        x(t<=T0) = A;
end

end

helperGenerateCompoundShockWaveform Function: Generate Compound Shock Waveform

The helperGenerateCompoundShockWaveform function generates a compound shock waveform with a specified sample rate in hertz, drop height in meter, impact velocity in meter/second, and maximum acceleration represented in units of g (9.81 m/s2).

function [x_cmpnd,x_drop] = helperGenerateCompoundShockWaveform(cmpndWFParams)
% HELPERGENERATECOMPOUNDSHOCKWAVEFORM generates compound shock waveforms

G = 9.81; % gravity acceleration in m/s^2

fs = cmpndWFParams.SampleRate; % Hz

% Drop shock
h_drop = cmpndWFParams.DropHeight; % m
T_drop = sqrt(2*h_drop/G); % duration of free fall drop in seconds

t_drop = (0:1/fs:T_drop-1/fs)'; % s
x_drop = -G*ones(size(t_drop)); % m/s^2

% Half-sine shock
DeltaV_hs = cmpndWFParams.ImpactVelocity; % m/s
Amax_hs = cmpndWFParams.MaxAcceleration; % g
A_hs = Amax_hs*G; % m/s^2
T0_hs = pi*DeltaV_hs/(2*A_hs); % width of shock in seconds
T_hs = 1.5*T0_hs; % duration of shock in seconds

[x_hs,t_hs] = helperGenerateSimpleShockWaveform( ...
    "half-sine",fs,A_hs,T0_hs,T_hs);

% Compound shock that can occur on a drop table shock machine
t_cmpnd = [t_drop;t_drop(end)+1/fs+t_hs]; % s
x_cmpnd = [x_drop;x_hs]; % m/s^2

figure
tl = tiledlayout("vertical");

nexttile
plot(t_cmpnd,x_cmpnd,LineWidth=2)
ylabel("Accel. (m/s^2)")
grid("on")

nexttile
plot(t_cmpnd,cumtrapz(x_cmpnd)/fs,LineWidth=2)
ylabel("Vel. (m/s)")
grid("on")

nexttile
plot(t_cmpnd,cumtrapz(cumtrapz(x_cmpnd)/fs)/fs,LineWidth=2)
ylabel("Disp. (m)")
grid("on")

xlabel(tl,"Time (s)")
title(tl,"Compound Shock Waveform")

end

plotGeneralSimpleShockWaveform Function

The plotGeneralSimpleShockWaveform function plots a general shock waveform and its Fourier transform.

function plotGeneralSimpleShockWaveform(generalWFParams)

secToMillisec = 1e3;

% Generate a general shock waveform
[w,t] = helperGenerateGeneralShockWaveform(generalWFParams.SampleRate, ...
    generalWFParams.MaxEnvelope,generalWFParams.CarrierFrequency, ...
    generalWFParams.PeakTime,generalWFParams.DampingRatio, ...
    generalWFParams.Phase,generalWFParams.Duration);
t = t*secToMillisec;

% Fourier transform
NFFT = 2^nextpow2(length(w));
df = generalWFParams.SampleRate/NFFT;
f = (-generalWFParams.SampleRate/2+df:df:generalWFParams.SampleRate/2);
W = fft(w,NFFT);

% Plot
fig = figure;
tl = tiledlayout(fig,"vertical");
title(tl,sprintf("General Simple Waveform:\n\\omega = 2\\pi\\times" + ...
    " %d (rad/s), \\tau = %.2f (s), \\zeta = %.1f",...
    generalWFParams.CarrierFrequency,generalWFParams.PeakTime, ...
    generalWFParams.DampingRatio),Interpreter="tex")

% Time history
ax = nexttile;
plot(ax,t,real(w),LineWidth=2)
xlim(ax,[0.005 0.015]*secToMillisec)
title(ax,"Time History")
xlabel(ax,"Time (ms)")
ylabel(ax,"Acceleration (m/s^2)")
grid(ax,"on")
% Fourier transform
ax = nexttile;
plot(ax,f,fftshift(abs(W)),LineWidth=2)
xlim(ax,[0 4e3])
title(ax,"Fourier Transform")
xlabel(ax,"Frequency (Hz)")
ylabel(ax,"Magnitude")
grid(ax,"on")

end

plotStandardSimpleShockWaveforms Function

The plotStandardSimpleShockWaveforms function plots the four simple shock waveforms: half-sine shock, versed-sine shock, terminal-peak-sawtooth waveform, and rectangular shock.

function plotStandardSimpleShockWaveforms(simpleWFParams)

secToMillisec = 1e3;

% Generate simple shock waveforms
[hs,t] = helperGenerateSimpleShockWaveform("half-sine", ...
    simpleWFParams.SampleRate,simpleWFParams.Amplitude, ...
    simpleWFParams.Width,simpleWFParams.Duration);
vs = helperGenerateSimpleShockWaveform("versed-sine", ...
    simpleWFParams.SampleRate,simpleWFParams.Amplitude, ...
    simpleWFParams.Width,simpleWFParams.Duration);
tps = helperGenerateSimpleShockWaveform("terminal-peak-sawtooth", ...
    simpleWFParams.SampleRate,simpleWFParams.Amplitude, ...
    simpleWFParams.Width,simpleWFParams.Duration);
rect = helperGenerateSimpleShockWaveform("rectangular", ...
    simpleWFParams.SampleRate,simpleWFParams.Amplitude, ...
    simpleWFParams.Width,simpleWFParams.Duration);

t = t*secToMillisec;

% Plot time history
fig = figure;
ax = axes(Parent=fig,Box="on");
plot(ax,t,hs,LineWidth=2)
hold(ax,"on")
plot(ax,t,vs,LineWidth=2)
plot(ax,t,tps,LineWidth=2)
plot(ax,t,rect,LineWidth=2)
hold(ax,"off")
title(ax,"Standard Simple Shock Waveforms")
xlabel(ax,"Time (ms)")
ylabel(ax,"Acceleration (m/s^2)")
legend(ax,["Half sine" "Versed sine" "Terminal peak sawtooth" "Rectangular"])
grid(ax,"on")

end

plotExperimentalShockWaveform Function

The plotExperimentalShockWaveform function plots shock waveforms obtained from recorded real experiments.

function plotExperimentalShockWaveform()

load("data/example_shock_response_spectrum_data.mat", ...
    "SyntheticMechanicalImpactShock","SeismicShock","UNDEXShock")

secToMillisec = 1e3;

fig = figure;
tl = tiledlayout(fig,3,1);

% Synthetic mechanical impact shock
fs = SyntheticMechanicalImpactShock.SampleRate; % Hz
T = SyntheticMechanicalImpactShock.Duration;    % sec
t = (0:1/fs:T)';
params = SyntheticMechanicalImpactShock.Params;
smi = real(sum(hGeneralShockWaveform(params,t),2));

ax = nexttile;
plot(ax,t*secToMillisec,smi)
title(ax,"(a) Synthetic Mechanical Impact Shock")
grid(ax,"on")

% Seismic shock
ax = nexttile;
t = (0:length(SeismicShock.AccelerationSignal)-1)'/SeismicShock.SampleRate;
plot(ax,t*secToMillisec,SeismicShock.AccelerationSignal)
title(ax,"(b) Seismic Shock")
grid(ax,"on")

% UNDEX shock
ax = nexttile;
t = (0:length(UNDEXShock.AccelerationSignal)-1)'/UNDEXShock.SampleRate;
plot(ax,t*secToMillisec,UNDEXShock.AccelerationSignal)
title(ax,"(c) UNDEX Shock")
grid(ax,"on")

title(tl,"Experimental Shock Waveform")
xlabel(tl,"Time (ms)")
ylabel(tl,"Acceleration (m/s^2)")

end

plotGeneralShockSRS Function

The plotGeneralShockSRS function shows SRS of the general simple shock waveform.

function plotGeneralShockSRS(Q,peakType,generalWFParams)

% SRS parameters
fnStart = 5;                           % Hz
fnEnd = generalWFParams.SampleRate/10; % Hz
fn = freqoctspace(fnStart,fnEnd,6, ...
    ReferenceFrequency=fnStart*2^(1/(2*6)), ...
    OctaveRatioBase=2);                % Hz

% Generate general shock waveform and compute SRS
w = helperGenerateGeneralShockWaveform(generalWFParams.SampleRate, ...
    generalWFParams.MaxEnvelope,generalWFParams.CarrierFrequency, ...
    generalWFParams.PeakTime,generalWFParams.DampingRatio, ...
    generalWFParams.Phase,generalWFParams.Duration);

% Compute and plot SRS
fig = figure;
ax = axes(Parent=fig,Box="on");
srs(real(w),generalWFParams.SampleRate, ...
    NaturalFrequency=fn, ...
    QualityFactor=Q, ...
    PeakType=peakType, ...
    Parent=ax);
title(ax,["SRS of General Simple Shock Waveforms";...
          "(Q = "+Q+", Prefilter-Smallwood, "+peakType+")"])
grid(ax,"on")

end

plotSimpleShockSRS Function

The plotSimpleShockSRS function illustrates SRSs of the standard simple shock waveform.

function plotSimpleShockSRS(Q,peakType,simpleWFParams)

% SRS parameters
fnStart = 5;                           % Hz
fnEnd = simpleWFParams.SampleRate/10;  % Hz
fn = freqoctspace(fnStart,fnEnd,6, ...
    ReferenceFrequency=fnStart*2^(1/(2*6)), ...
    OctaveRatioBase=2);                % Hz

simpleWFNames = ["half-sine", ...
                 "versed-sine", ...
                 "terminal-peak-sawtooth", ...
                 "rectangular"];

fig = figure;
tl = tiledlayout(fig,2,2);

for nwn = 1:numel(simpleWFNames)
    % Generate simple shock waveform
    simpleShockWF = helperGenerateSimpleShockWaveform(simpleWFNames(nwn), ...
        simpleWFParams.SampleRate,simpleWFParams.Amplitude, ...
        simpleWFParams.Width,simpleWFParams.Duration);

    % Compute and plot SRS
    ax = nexttile;
    srs(simpleShockWF,simpleWFParams.SampleRate, ...
        NaturalFrequency=fn, ...
        QualityFactor=Q, ...
        PeakType=peakType, ...
        Parent=ax);
    title(ax,simpleWFNames(nwn))
    xlabel(ax,"")
    ylabel(ax,"")
    grid(ax,"on")
end

title(tl,["SRS of Standard Simple Shock Waveforms";
          "(Q = "+Q+", Prefilter-Smallwood, "+peakType+")"])
xlabel(tl,"Natural Frequency (Hz)")
ylabel(tl,"Absolute Acceleration (m/s^2)")

end

plotExperimentalShockSRS Function

The plotExperimentalShockSRS function plots the SRSs of the experimental shock waveforms.

function plotExperimentalShockSRS(Q,peakType)

load("data/example_shock_response_spectrum_data.mat", ...
    "SyntheticMechanicalImpactShock","SeismicShock","UNDEXShock")

fig = figure;
tl = tiledlayout(fig,3,1);

% Synthetic mechanical impact shock
sampleRate = SyntheticMechanicalImpactShock.SampleRate; % Hz
fnStart = 10;                                           % Hz
fnEnd = sampleRate/10;                                  % Hz
fn = freqoctspace(fnStart,fnEnd,6, ...
    ReferenceFrequency=fnStart*2^(1/(2*6)), ...
    OctaveRatioBase=2);                                 % Hz
T = SyntheticMechanicalImpactShock.Duration;            % sec
t = (0:1/sampleRate:T)';
wfParams = SyntheticMechanicalImpactShock.Params;
smi = real(sum(hGeneralShockWaveform(wfParams,t),2));

ax = nexttile;
srs(smi,sampleRate, ...
    NaturalFrequency=fn, ...
    QualityFactor=Q, ...
    PeakType=peakType, ...
    Parent=ax);
title(ax,"Synthetic Mechanical Impact Shock")
xlabel(ax,"")
ylabel(ax,"")
grid(ax,"on")

% Seismic shock
sampleRate = SeismicShock.SampleRate; % Hz
fnStart = 0.1;                        % Hz
fnEnd = sampleRate/10;                % Hz
fn = freqoctspace(fnStart,fnEnd,6, ...
    ReferenceFrequency=fnStart*2^(1/(2*6)), ...
    OctaveRatioBase=2);               % Hz
eq = SeismicShock.AccelerationSignal;

ax = nexttile;
srs(eq,sampleRate, ...
    NaturalFrequency=fn, ...
    QualityFactor=Q, ...
    PeakType=peakType, ...
    Parent=ax);
title(ax,"Seismic Shock")
xlabel(ax,"")
ylabel(ax,"")
grid(ax,"on")

% UNDEX shock
sampleRate = UNDEXShock.SampleRate; % Hz
fnStart = 0.1;                      % Hz
fnEnd = sampleRate/10;              % Hz
fn = freqoctspace(fnStart,fnEnd,6, ...
    ReferenceFrequency=fnStart*2^(1/(2*6)), ...
    OctaveRatioBase=2); % Hz
undex = UNDEXShock.AccelerationSignal;

ax = nexttile;
srs(undex,sampleRate, ...
    NaturalFrequency=fn, ...
    QualityFactor=Q, ...
    PeakType=peakType, ...
    Parent=ax);
title(ax,"UNDEX Shock")
xlabel(ax,"")
ylabel(ax,"")
grid(ax,"on")

title(tl,["SRS of Experimental Shock Waveforms"; ...
          "(Q = "+Q+", Prefilter-Smallwood, "+peakType+")"])
xlabel(tl,"Natural Frequency (Hz)")
ylabel(tl,"Absolute Acceleration (m/s^2)")

end

plotCompoundShockPVSS Function

The plotCompoundShockPVSS function plots the pseudo-velocity shock spectrum (PVSS) of the compound shock waveform.

function plotCompoundShockPVSS(cmpndShock,cmpndWFParams)

G = 9.81; % gravity acceleration (m/s^2)

% SRS parameters
fn = logspace(-1,4,1000); % Hz
Qs = 1./(2*[0 0.05 0.1]);

fig = figure;
ax = axes(Parent=fig,Box="on");
srs(cmpndShock,cmpndWFParams.SampleRate, ...
    NaturalFrequency=fn, ...
    QualityFactor=Qs(1), ...
    ResponseType="pseudovel", ...
    Parent=ax);
yLim = ax.YLim;
lw = ax.LineWidth;
hold(ax,"on")
for Q = Qs(2:end)
    pvss = srs(cmpndShock,cmpndWFParams.SampleRate, ...
        NaturalFrequency=fn, ...
        QualityFactor=Q, ...
        ResponseType="pseudovel");
    loglog(ax,fn,pvss,LineWidth=lw)
    yLim = [min(min(pvss,[],"all"),yLim(1)), ...
            max(max(pvss,[],"all"),yLim(2))];
end
ylim(ax,yLim)
% The dashed (2g) curve is a tripartite reference line corresponding to
% constant acceleration level (a=2g), mapped into pseudo-velocity via
% V_PV(fn) = a/(2*pi*fn), it is not a PVSS computed from the waveform and
% does not depend on Q.
vpv_2g = (2*G)./(2*pi*fn);
loglog(ax,fn,vpv_2g,"--",LineWidth=lw);
legend(["Q = Inf (undamped)", "Q = "+Qs(2:end),"2g reference line"], ...
    Location="southwest")

end

plotSeismicPVSSSeverity

The plotSeismicPVSSSeverity function computes and plots the pseudo-velocity shock spectrum (PVSS) of the seismic acceleration record on a tripartite plot. It overlays a constant-acceleration reference line and estimates an effective severity level and bandwidth by identifying the dominant mid-band pseudo-velocity region using smoothing and a threshold-based criterion.

function plotSeismicPVSSSeverity
% Estimate and plot PVSS severity and draw it on a tripartite plot for the
% seismic waveform

load("data/example_shock_response_spectrum_data.mat", ...
    "SeismicShock")

% SRS parameters
sampleRate = SeismicShock.SampleRate; % Hz
fnStart = 0.03;                       % Hz
fnEnd = sampleRate/10;                % Hz
fn = freqoctspace(fnStart,fnEnd,6, ...
    ReferenceFrequency=fnStart*2^(1/(2*6)), ...
    OctaveRatioBase=2)';              % Hz

% Compute and plot PVSS of seismic shock
eq = SeismicShock.AccelerationSignal;

fig = figure;
ax = axes(Parent=fig,Box="on");
[pvss,fn] = srs(eq,sampleRate, ...
    NaturalFrequency=fn, ...
    ResponseType="pseudovel", ...
    Parent=ax);
hold(ax,"on")

% Constant acceleration asymptote
maxAbsAccel = max(abs(eq)); % m/s^2
fline = [max(fn)/10 max(fn)]; % Hz span for the line
vline = maxAbsAccel./(2*pi*fline); % m/s
loglog(ax,fline,vline,"-.",LineWidth=1.5)

% Compute plateau level by computing median of top 10% values
smoothedPVSS = smoothdata(pvss,"movmean",5);
sortedVals = sort(smoothedPVSS,"descend");
Ntop = max(5,round(0.10*numel(sortedVals)));
plateauLevel = median(sortedVals(1:Ntop)); % m/s

% Compute plateau bandwidth based on a threshold
gamma = 0.75; % threshold
threshold = gamma*plateauLevel; % m/s
idx = smoothedPVSS >= threshold;

d = diff([false;idx;false]);
sIdx = find(d==1);
eIdx = find(d==-1)-1;

if isempty(sIdx)
    hold(ax,"off")
    return
end

bandWidths = fn(eIdx)-fn(sIdx);
[~,k] = max(bandWidths);
fl = fn(sIdx(k)); % lower limit in Hz
fu = fn(eIdx(k)); % upper limit in Hz

% Vertical band limits
yl = ylim(ax);
ymin = max(yl(1),min(pvss)*0.9);
hvb = plot(ax,[fl fl],[ymin plateauLevel],":", ...
    LineWidth=1,HandleVisibility="off");
plot(ax,[fu fu],[ymin plateauLevel],":", ...
    Color=hvb.Color,LineWidth=1,HandleVisibility="off")

% Plateau (severity) line across [fl fu]
hpl = plot(ax,[fl fu],[plateauLevel plateauLevel],"--", ...
    LineWidth=1.5);
plot(ax,[fl fu],[plateauLevel plateauLevel],"o", ...
    Color=hpl.Color,LineWidth=1.5,HandleVisibility="off")
% Bandwidth threshold line across [fl fu]
plot(ax,[fl fu],[threshold threshold],"-", ...
    LineWidth=1.5)

hold(ax,"off")

title(ax,[string(ax.Title.String); ...
          sprintf("(Severity: %.2f m/s over %.2f - %.2f Hz)", ...
          plateauLevel,fl,fu)])
legend(ax,["Seismic PVSS", ...
    "Constant-acceleration asymptote (-1 slope)", ...
    "Severity level", ...
    "Bandwidth threshold"], ...
    Location="southwest")

end

See Also

|