We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5f36a55 commit da874f7Copy full SHA for da874f7
1 file changed
control/xferfcn.py
@@ -611,7 +611,7 @@ def freqresp(self, omega):
611
omega.sort()
612
if isdtime(self, strict=True):
613
dt = timebase(self)
614
- slist = map(lambda w: exp(1.j * w * dt), omega)
+ slist = np.array([exp(1.j * w * dt) for w in omega])
615
if (max(omega) * dt > pi):
616
warn("evalfr: frequency evaluation above Nyquist frequency")
617
else:
0 commit comments