cupyx.scipy.signal.ss2tf#

cupyx.scipy.signal.ss2tf(A, B, C, D, input=0)[source]#

State-space to transfer function.

A, B, C, D defines a linear state-space system with p inputs, q outputs, and n state variables.

Parameters:
  • A (array_like) – State (or system) matrix of shape (n, n)

  • B (array_like) – Input matrix of shape (n, p)

  • C (array_like) – Output matrix of shape (q, n)

  • D (array_like) – Feedthrough (or feedforward) matrix of shape (q, p)

  • input (int, optional) – For multiple-input systems, the index of the input to use.

Returns:

  • num (2-D ndarray) – Numerator(s) of the resulting transfer function(s). num has one row for each of the system’s outputs. Each row is a sequence representation of the numerator polynomial.

  • den (1-D ndarray) – Denominator of the resulting transfer function(s). den is a sequence representation of the denominator polynomial.

Warning

This function may synchronize the device.