# xspectrogram

Cross-spectrogram using short-time Fourier transforms

## Syntax

## Description

`[___] = xspectrogram(___,`

returns the cross-spectrogram over the frequency range specified by
`freqrange`

)`freqrange`

. Valid options for
`freqrange`

are `"onesided"`

,
`"twosided"`

, and `"centered"`

.

`[___] = xspectrogram(___,`

specifies additional options using name-value arguments. Options include the
minimum threshold and output time dimension.`Name,Value`

)

`[___] = xspectrogram(___,`

returns short-term cross power spectral density estimates if
`spectrumtype`

)`spectrumtype`

is specified as `"psd"`

and returns short-term cross power spectrum estimates if
`spectrumtype`

is specified as
`"power"`

.

`xspectrogram(___)`

with no output arguments
plots the cross-spectrogram in the current figure window.

`xspectrogram(___,`

specifies the axis on which to plot the frequency. Specify
`freqloc`

)`freqloc`

as either `"xaxis"`

or
`"yaxis"`

.

## Examples

## Input Arguments

## Output Arguments

## References

[1] Mitra, Sanjit K.
*Digital Signal Processing: A Computer-Based Approach*. 2nd Ed.
New York: McGraw-Hill, 2001.

[2] Oppenheim, Alan V., and Ronald W. Schafer, with John R. Buck. *Discrete-Time
Signal Processing*. 2nd Ed. Upper Saddle River, NJ: Prentice Hall,
1999.

## Extended Capabilities

## Version History

**Introduced in R2017a**