From c0c0582462720ed597b00e116506570577614e89 Mon Sep 17 00:00:00 2001 From: shamikam Date: Tue, 7 Nov 2017 15:59:48 +0530 Subject: initial commit --- macros/zplane.sci | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 macros/zplane.sci (limited to 'macros/zplane.sci') diff --git a/macros/zplane.sci b/macros/zplane.sci new file mode 100644 index 0000000..bfa9285 --- /dev/null +++ b/macros/zplane.sci @@ -0,0 +1,16 @@ +function [y] = zplane(z,p) +funcprot(0); + +rhs = argn(2) + +if(rhs<1 | rhs>2) +error("Wrong number of input arguments.") +end + select(rhs) + case 1 then + callOctave("zplane",z) + case 2 then + callOctave("zplane",z,p) + end +endfunction + -- cgit