IRIS Toolbox Reference Manual

## xsf

Power spectrum and spectral density of model variables

#### Syntax

    [S,D,List] = xsf(M,Freq,...)
    [S,D,List,Freq] = xsf(M,NFreq,...)

#### Input arguments

- `M` [ model ] - Model object.

- `Freq` [ numeric ] - Vector of frequencies at which the XSFs will be evaluated.

- `NFreq` [ numeric ] - Total number of requested frequencies; the frequencies will be evenly spread between 0 and `pi`.

#### Output arguments

- `S` [ namedmat | numeric ] - Power spectrum matrices.

- `D` [ namedmat | numeric ] - Spectral density matrices.

- `List` [ cellstr ] - List of variable in order of appearance in rows and columns of `S` and `D`.

- `Freq` [ numeric ] - Vector of frequencies at which the XSFs has been evaluated.

#### Options

- `'applyTo='` [ cellstr | char | `Inf` ] - List of variables to which the option `'filter='` will be applied; `Inf` means all variables.

- `'filter='` [ char | empty ] - Linear filter that is applied to variables specified by 'applyto'.

- `'nFreq='` [ numeric | `256` ] - Number of equally spaced frequencies over which the 'filter' is numerically integrated.

- `'output='` [ `'namedmat'` | `'numeric'` ] - Output matrices `S` and `F` will be either namedmat objects or plain numeric arrays; if the option `'select='` is used, `'output='` is always a namedmat object.

- `'progress='` [ `true` | `false` ] - Display progress bar on in the command window.

- `'select='` [ cellstr | `Inf` ] - Return XSF for selected variables only; `Inf` means all variables.

#### Description

#### Example

IRIS Toolbox. Copyright © 2007—2013 Jaromir Benes.