diff options
author | Manoj Gudi | 2013-10-09 12:01:05 +0530 |
---|---|---|
committer | Manoj Gudi | 2013-10-09 12:01:05 +0530 |
commit | e85331fbd40b8a05ba0e088cbb02d7b0052b2d12 (patch) | |
tree | 476e856e1806397477a8a7d248ee1ece38e8294f /gr-controls/python/csim_sci.py | |
parent | 08cee507c6ff6fd490334560489467996d078168 (diff) | |
download | gnuradio-e85331fbd40b8a05ba0e088cbb02d7b0052b2d12.tar.gz gnuradio-e85331fbd40b8a05ba0e088cbb02d7b0052b2d12.tar.bz2 gnuradio-e85331fbd40b8a05ba0e088cbb02d7b0052b2d12.zip |
cleanup csim_sci.py
Diffstat (limited to 'gr-controls/python/csim_sci.py')
-rwxr-xr-x | gr-controls/python/csim_sci.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/gr-controls/python/csim_sci.py b/gr-controls/python/csim_sci.py index 3d900bc40..d52522f6d 100755 --- a/gr-controls/python/csim_sci.py +++ b/gr-controls/python/csim_sci.py @@ -14,17 +14,12 @@ def csim(P,I,D,n0,n1,d0,d1,u): code_string6 = "u="+str((u))+";" code_string7 = "y=csim(u,1:length(u),r)" code_string = code_string1+code_string2+code_string3+code_string4+code_string5+code_string6+code_string7 - print(code_string) import sciscipy sciscipy.eval(code_string) y = sciscipy.read("y") return y #print "y" - import matplotlib.pyplot as plt - plt.plot(y) - plt.show() - if __name__ == "__main__": u = [0]*100 |