functionplotEigenvalues
Calculate eigenvalues of matrix A and plot root locus
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real[:,size(A, 1)] | A | [2, 1, 1; 1, 1, 1; 1, 2, 2] | Square matrix |
| Boolean | removePrevious | true | True, if all previous plots should be deleted |
| Integer[4] | position | {5, 5, 600, 450} | Window Position |
| String | heading | "Root locii" | Heading of plot |
| Boolean | useLegend | true | Use legend |
| String | legend | "Eigenvalues" | Legend of plot |
| Boolean | grid | false | Add grid |
| MarkerStyle | markerStyle | MarkerStyle.Cross | Style of marker |
| Integer[3] | markerColor | {0, 0, 255} | Color of marker |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real[size(A, 1),2] | eigenvalues | Eigenvalues of matrix A (Re: first column, Im: second column) |