mirror of
https://github.com/gabrielkheisa/control-system.git
synced 2024-11-23 20:03:22 +07:00
Add documentation
This commit is contained in:
parent
f0c29a3b0d
commit
0e2bd96a54
@ -47,6 +47,4 @@ def calc_routh(self):
|
||||
print("SYSTEM IS UNSTABLE")
|
||||
```
|
||||
```calc_routh(self)``` as the core process of this class contains initialization and process about Routh Stability Process. Firstly, it define an empty zero (basically it filled with zeros) and iteratively being inserted by ```self.den``` (refering to Routh Table principle). After that, each cell will be updated by calculating Routh Table formula
|
||||
```math
|
||||
arr_{i,j} = \frac{arr_{i-1][0]*arr[i-2][j+1] - arr[i-2][0]*arr[i-1][j+1]}{arr_{i-1][0]}
|
||||
```
|
||||
$$arr_{i,j} = \frac{arr_{i-1][0]*arr[i-2][j+1] - arr[i-2][0]*arr[i-1][j+1]}{arr_{i-1][0]}$$
|
||||
|
Loading…
Reference in New Issue
Block a user