## Documentation Center |

On this page… |
---|

The procedures are very similar to those explained in

Importing a Signal into SPTool for loading variables from the workspace

Loading Variables from the Disk for loading variables from your disk

When you import filters, first select the appropriate filter
form from the **Form** list. SPTool does not currently
support the import of filter objects.

For every filter you specify a variable name or a value for
the filter's sampling frequency in the **Sampling Frequency** field.
Each filter form requires different variables.

For `Transfer Function`, you specify the filter
by its transfer function representation:

The

**Numerator**field specifies a variable name or value for the numerator coefficient vector*b*, which contains*m*+1 coefficients in descending powers of*z*.The

**Denominator**field specifies a variable name or value for the denominator coefficient vector*a*, which contains*n*+1 coefficients in descending powers of*z*.

For `State Space`, you specify the filter by
its state-space representation:

The **A-Matrix**, **B-Matrix**, **C-Matrix**,
and **D-Matrix** fields specify a variable name or
a value for each matrix in this system.

For `Zeros,` `Poles,` `Gain`,
you specify the filter by its zero-pole-gain representation:

The

**Zeros**field specifies a variable name or value for the zeros vector*z*, which contains the locations of*m*zeros.The

**Poles**field specifies a variable name or value for the zeros vector*p*, which contains the locations of*n*poles.The

**Gain**field specifies a variable name or value for the gain*k*.

For `2nd` `Order` `Sections` you
specify the filter by its second-order section representation:

The **SOS Matrix** field specifies a variable
name or a value for the *L*-by-6 SOS matrix

whose rows contain the numerator and denominator coefficients *b _{ik}* and

When you import a power spectral density (PSD), you specify:

A variable name or a value for the PSD vector in the

**PSD**fieldA variable name or a value for the frequency vector in the

**Freq. Vector**field

The PSD values in the **PSD** vector correspond
to the frequencies contained in the **Freq. Vector** vector;
the two vectors must have the same length.

Was this topic helpful?