summaryrefslogtreecommitdiff
path: root/macros/sos2tf.sci
diff options
context:
space:
mode:
Diffstat (limited to 'macros/sos2tf.sci')
-rw-r--r--macros/sos2tf.sci1
1 files changed, 1 insertions, 0 deletions
diff --git a/macros/sos2tf.sci b/macros/sos2tf.sci
index f674c85..e7b51d7 100644
--- a/macros/sos2tf.sci
+++ b/macros/sos2tf.sci
@@ -18,6 +18,7 @@ function [A,B] = sos2tf(sos, g)
// -2 1 2 4 1
//b =
// 1 10 0 -10 -1
+
if(argn(2)<1 | argn(2)>2)
error("Wrong number of input arguments.")
end