StefanRickli / anp

(A)nimated (N)yquist (P)lot. A Matlab program that draws a reasonable Nyquist diagram of any given rational transfer function and allows the user to explore it.
BSD 3-Clause "New" or "Revised" License
7 stars 1 forks source link

Take (real) constant gain into consideration for result calculation #28

Closed StefanRickli closed 7 years ago

StefanRickli commented 7 years ago

This limitation that persisted almost since the beginning could be seen as bug.

If a transfer function has a constant gain different than 1, then the result TextBox will neglect that gain.

For example -2/(s+1) has a constant gain of (-2), which will scale the plot by 2 and turn the phase by 180°. The result TextBox will simply show the contributions of the transfer function 1/(s+1), as if the factor (-2) wasn't present.