imat_fn/psd2trans (+Signal)


Purpose

Generate transient from Cross Spectral Density.

Syntax

outtrans = csd2trans(psdfun,deltat,duration)
[outtrans,outcsd] = csd2trans(csdfun,deltat,duration,'silent',interptype)

Description

 

CSD2TRANS generates transients using a summation of sine waves with random phase that match a cross-spectral density.

CSDFUN is an NxN imat_fn containing a cross-spectral density matrix.

DELTAT is the time increment to be used in the equivalent transient function. Specify [] to direct CSD2TRANS to use the default, which is 10 points in time at the highest frequency.

DURATION is the total length of the equivalent transient function. Specify [] to direct CSD2TRANS to use the default, which is 10 cycles at the lowest frequency.

If the string 'silent' is passed in, all text output is suppressed including warnings.

INTERPTYPE is an optional string argument defining the interpolation method used for the CSD. Accepted values for INTERPTYPE are: 'linlin' (or 'lin'), 'linlog', 'loglin', or 'loglog' (default).

OUTTRANS is an imat_fn containing the transient(s).

OUTCSD is an optional imat_fn containing the CSD of time histories. This can be used to validate the transients.

See Also

imat_fn/csd, imat_fn/psd, imat_fn/psd2trans