A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://python-control.readthedocs.io/en/stable/generated/control.canonical_form.html below:

Website Navigation


control.canonical_form — Python Control Systems Library 0.10.2 documentation

control.canonical_form
control.canonical_form(xsys, form='reachable')[source]

Convert a system into canonical form.

Parameters:
xsysStateSpace object

System to be transformed, with state ‘x’.

formstr
Canonical form for transformation. Chosen from:
  • ‘reachable’ - reachable canonical form

  • ‘observable’ - observable canonical form

  • ‘modal’ - modal canonical form

Returns:
zsysStateSpace object

System in desired canonical form, with state ‘z’.

T(M, M) real ndarray

Coordinate transformation matrix, z = T * x.

Examples

>>> Gs = ct.tf2ss([1], [1, 3, 2])
>>> Gc, T = ct.canonical_form(Gs)  # default reachable
>>> Gc.B
array([[1.],
       [0.]])
>>> Gc, T = ct.canonical_form(Gs, 'observable')
>>> Gc.C
array([[1., 0.]])
>>> Gc, T = ct.canonical_form(Gs, 'modal')
>>> Gc.A                                                    
array([[-2.,  0.],
       [ 0., -1.]])

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4