Skip to content
Snippets Groups Projects
Commit adf2aa8f authored by mehtank's avatar mehtank
Browse files

Max freq response

parent d9db1018
No related merge requests found
......@@ -55,6 +55,10 @@ class IDMLin:
# w,v = sparse.linalg.eigs(a)
return all(real(w)<1e-10)
def maxresponse(self):
_, mag, _ = self.sys().bode()
return max(mag)
def os(self):
f,g,h = self.f, self.g, self.h
return 4*f-(g+h)**2
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment