diff options
author | shamikam | 2017-11-07 15:59:48 +0530 |
---|---|---|
committer | shamikam | 2017-11-07 15:59:48 +0530 |
commit | c0c0582462720ed597b00e116506570577614e89 (patch) | |
tree | 31dedd23698e5357b19c810b7d7a8464100ef44a /macros/zplane.sci | |
download | FOSSEE-Signal-Processing-Toolbox-c0c0582462720ed597b00e116506570577614e89.tar.gz FOSSEE-Signal-Processing-Toolbox-c0c0582462720ed597b00e116506570577614e89.tar.bz2 FOSSEE-Signal-Processing-Toolbox-c0c0582462720ed597b00e116506570577614e89.zip |
initial commit
Diffstat (limited to 'macros/zplane.sci')
-rw-r--r-- | macros/zplane.sci | 16 |
1 files changed, 16 insertions, 0 deletions
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 + |