Compute shock response on the supplied input imat_fn.
g=srs(f)
g=srs(f,[],[],imat_fn(1,'IDLine1','Template'))
g=srs(f,freq,damp,'pos','neg','maxi','silent')
SRS computes shock response spectra from the supplied time histories in the imat_fn vriable F. These time histories must be evenly spaced. FREQ is an optional numeric vector specifying the frequencies at which to compute the response. If none is supplied, or FREQ is empty, logspace(-1,4,100) will be used. DAMP is an optional numeric vector containing a list of damping ratios to use. The damping ratios should be between 0.0 and 1.0. If none is supplied, or it is empty, a damping ratio of 0.05 is used.
The response spectra calculation assumes the absolute acceleration form. The optional string input arguments define what kind of SRS will be computed. Available choices are 'pos', 'neg', 'maxi', and 'all'. The default is 'maxi'. To specify these, you must also specify FREQ and DAMP, although you can pass in empty matrices to use the defaults.
The optional input string 'silent' suppresses output.
OUTFN is an imat_fn containing the output. It is dimensioned as MxNxP, where M is the number of SRS functions (positive, negative, maximax), N is the number of damping values, and P is the number of supplied time histories supplied to SRS. IDLine3 contains a description of the data type and damping value used for the function. UserValue3 contains the Q value used for the function (1/2*damping fraction).
The core of SRS uses routines provided by David Smallwood at Sandia National Laboratories. SRS is simply a wrapper around these routines to accommodate IMAT data types.
PORTIONS COPYRIGHT 1994-1998 SANDIA NATIONAL LABORATORIES
>> f=imat_fn(1,'AbscissaInc',1/100,'Ordinate',ones(1,100),'OrdNumDataType','Acceleration');
>> g=srs(f)
Portions of this code provided by Dave Smallwood and are (C) Sandia National Laboratories
g =
IMAT Function with the following attributes
Record Name FunctionType AbscissaSpacing NumberElements
--------------------------- ---------------- ---------------- ----------------
1_(1MAXI,1X+) Shock
Response S Uneven 100
>> g=srs(f,[],.01:.01:.05,'pos','neg')
Portions of this code provided by Dave Smallwood and are (C) Sandia National Laboratories
g =
2x5 IMAT Function with the following
attributes:
Row Col Record Name FunctionType AbscissaSpacing NumberElements
--- --- ------------------- ---------------- ---------------- ----------------
1 1 1_(1CPOS,1X+) Shock Response S Uneven 100
2 1 2_(1CNEG,1X+) Shock Response S Uneven 100
1 2 3_(1CPOS,1X+) Shock Response S Uneven 100
2 2 4_(1CNEG,1X+) Shock Response S Uneven 100
1 3 5_(1CPOS,1X+) Shock Response S Uneven 100
2 3 6_(1CNEG,1X+) Shock Response S Uneven 100
1 4 7_(1CPOS,1X+) Shock Response S Uneven 100
2 4 8_(1CNEG,1X+) Shock Response S Uneven 100
1 5 9_(1CPOS,1X+) Shock Response S Uneven 100
2 5 10_(1CNEG,1X+) Shock Response S Uneven 100
>>