SciPy

This is documentation for an old release of SciPy (version 0.17.1). Read this page in the documentation of the latest stable release (version 1.15.1).

scipy.signal.abcd_normalize

scipy.signal.abcd_normalize(A=None, B=None, C=None, D=None)[source]

Check state-space matrices and ensure they are two-dimensional.

If enough information on the system is provided, that is, enough properly-shaped arrays are passed to the function, the missing ones are built from this information, ensuring the correct number of rows and columns. Otherwise a ValueError is raised.

Parameters:

A, B, C, D : array_like, optional

State-space matrices. All of them are None (missing) by default. See ss2tf for format.

Returns:

A, B, C, D : array

Properly shaped state-space matrices.

Raises:

ValueError

If not enough information on the system was provided.