diff options
author | bgtushar | 2017-11-23 19:30:44 +0530 |
---|---|---|
committer | bgtushar | 2017-11-23 19:30:44 +0530 |
commit | e9ab4b0b52db51be30f4ac3d07673c20b48da13c (patch) | |
tree | 8f4ce37de0a028350125acfce71cfe686e79ef24 /macros/synthesis.sci | |
parent | 14ccddd315f0b97a78e965df1587835ac542e35a (diff) | |
parent | f66d58166a67d6bc89b2a674119410ddaee53d46 (diff) | |
download | FOSSEE-Signal-Processing-Toolbox-e9ab4b0b52db51be30f4ac3d07673c20b48da13c.tar.gz FOSSEE-Signal-Processing-Toolbox-e9ab4b0b52db51be30f4ac3d07673c20b48da13c.tar.bz2 FOSSEE-Signal-Processing-Toolbox-e9ab4b0b52db51be30f4ac3d07673c20b48da13c.zip |
Merge
Diffstat (limited to 'macros/synthesis.sci')
-rw-r--r-- | macros/synthesis.sci | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/macros/synthesis.sci b/macros/synthesis.sci new file mode 100644 index 0000000..e787c86 --- /dev/null +++ b/macros/synthesis.sci @@ -0,0 +1,16 @@ +function x= synthesis(Y,C) + +funcprot(0); +lhs= argn(1); +rhs= argn(2); + +if(rhs<2 | rhs >2) + error("Wrong number of input arguments"); +end + +select(rhs) + case 2 then + x= callOctave("synthesis", Y,C); + +end +endfunction |