Created
December 22, 2014 00:54
-
-
Save dhermes/7ebb7ce7ce070f18d491 to your computer and use it in GitHub Desktop.
Oct2Py Output for -g Flag
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set(0, 'DefaultFigurePosition', [300, 200, 560, 420]); | |
__oct2py_figures = []; | |
__oct2py_figure_visible = 'on'; | |
clear("ans"); | |
clear("_"); | |
clear("a__"); | |
disp(char(2)) | |
try | |
disp(char(2)); | |
# butterworth filter, order 2, cutoff pi/2 radians | |
b = [0.292893218813452 0.585786437626905 0.292893218813452]; | |
a = [1 0 0.171572875253810]; | |
freqz(b, a, 32); | |
if exist("ans") == 1 | |
_ = ans; | |
end | |
disp(char(3)) | |
catch | |
disp(lasterr()); | |
disp(char(24)); | |
end | |
if exist("_") == 1 | |
if exist("a__") == 0 | |
save -v6 /tmp/tmpqjS1Oq.mat _; | |
end | |
end | |
drawnow("expose"); | |
disp(char(3)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment