From 0d825400f1fd0126a4ccaa63408ba2b38351d47a Mon Sep 17 00:00:00 2001 From: Fredrik Bagge Carlson Date: Mon, 26 Feb 2024 17:57:41 +0100 Subject: [PATCH] add latex representation of statespace systems to establish notation --- docs/src/man/creating_systems.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/docs/src/man/creating_systems.md b/docs/src/man/creating_systems.md index 5b3b0a5fe..c5a5b8f80 100644 --- a/docs/src/man/creating_systems.md +++ b/docs/src/man/creating_systems.md @@ -84,7 +84,21 @@ The transfer functions created using this method will be of type `TransferFuncti ## State-Space Systems -A state-space system is created using +A state-space system +```math +\begin{aligned} +\dot{x} &= Ax + Bu \\ +y &= Cx + Du +\end{aligned} +``` +in continuous time, or +```math +\begin{aligned} +x_{t+T_s} &= Ax_t + Bu_t \\ +y_t &= Cx_t + Du_t +\end{aligned} +``` +in discrete time, is created using ```julia ss(A,B,C,D) # Continuous-time system ss(A,B,C,D,Ts) # Discrete-time system