summaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
authorAbhinav Dronamraju2017-07-11 20:21:06 +0530
committerAbhinav Dronamraju2017-07-11 20:21:06 +0530
commitac678b361d87222c0c40511ce060f79e9bdabd30 (patch)
tree9f7a7d3ae24a64945cec63bdb3c92459106d4bf6 /demos
parent21ec96e73b9e5244421f04f9a2e1207612391fca (diff)
parent3a663776e10700ca37e158de8ed580ecbfda0088 (diff)
downloadScilab2C_fossee_old-ac678b361d87222c0c40511ce060f79e9bdabd30.tar.gz
Scilab2C_fossee_old-ac678b361d87222c0c40511ce060f79e9bdabd30.tar.bz2
Scilab2C_fossee_old-ac678b361d87222c0c40511ce060f79e9bdabd30.zip
Ankit's changes
Diffstat (limited to 'demos')
-rw-r--r--demos/ffilt.dem.sce16
-rw-r--r--demos/filt_sinc.dem.sce18
-rw-r--r--demos/fsfirlin.dem.sce16
-rw-r--r--demos/scilab2c.dem.gateway.sce3
4 files changed, 53 insertions, 0 deletions
diff --git a/demos/ffilt.dem.sce b/demos/ffilt.dem.sce
new file mode 100644
index 0000000..0268041
--- /dev/null
+++ b/demos/ffilt.dem.sce
@@ -0,0 +1,16 @@
+// Copyright (C) 2017 - IIT Bombay - FOSSEE
+//This file must be used under the terms of the CeCILL.
+// This source file is licensed as described in the file COPYING, which
+// you should have received as part of this distribution. The terms
+// are also available at
+// http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+// Author: Ankit Raj
+// Organization: FOSSEE, IIT Bombay
+// Email: toolbox@scilab.in
+//
+
+lines(0);
+
+global SCI2CHOME
+
+scilab2c(SCI2CHOME+"/tests/unit_tests/test_ffilt/scilabcode/main.sci",TMPDIR,SCI2CHOME+"/tests/unit_tests/test_ffilt/scilabcode");
diff --git a/demos/filt_sinc.dem.sce b/demos/filt_sinc.dem.sce
new file mode 100644
index 0000000..001ceb8
--- /dev/null
+++ b/demos/filt_sinc.dem.sce
@@ -0,0 +1,18 @@
+// Copyright (C) 2017 - IIT Bombay - FOSSEE
+//This file must be used under the terms of the CeCILL.
+// This source file is licensed as described in the file COPYING, which
+// you should have received as part of this distribution. The terms
+// are also available at
+// http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+// Author: Ankit Raj
+// Organization: FOSSEE, IIT Bombay
+// Email: toolbox@scilab.in
+//
+
+
+
+lines(0);
+
+global SCI2CHOME
+
+scilab2c(SCI2CHOME+"/tests/unit_tests/test_filtsinc/scilabcode/filt_sinctest.sci",TMPDIR,SCI2CHOME+"/tests/unit_tests/test_filtsinc/scilabcode");
diff --git a/demos/fsfirlin.dem.sce b/demos/fsfirlin.dem.sce
new file mode 100644
index 0000000..278252a
--- /dev/null
+++ b/demos/fsfirlin.dem.sce
@@ -0,0 +1,16 @@
+// Copyright (C) 2017 - IIT Bombay - FOSSEE
+//This file must be used under the terms of the CeCILL.
+// This source file is licensed as described in the file COPYING, which
+// you should have received as part of this distribution. The terms
+// are also available at
+// http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+// Author: Ankit Raj
+// Organization: FOSSEE, IIT Bombay
+// Email: toolbox@scilab.in
+//
+
+lines(0);
+
+global SCI2CHOME
+
+scilab2c(SCI2CHOME+"/tests/unit_tests/test_fsfirlin/scilabcode/main.sci",TMPDIR,SCI2CHOME+"/tests/unit_tests/test_fsfirlin/scilabcode");
diff --git a/demos/scilab2c.dem.gateway.sce b/demos/scilab2c.dem.gateway.sce
index b572166..bc158bf 100644
--- a/demos/scilab2c.dem.gateway.sce
+++ b/demos/scilab2c.dem.gateway.sce
@@ -39,6 +39,9 @@ subdemolist = ["Trigonometric Identity" , "TrigonometricIdentity.dem.sce";
"Arduino analog output", "analog_out.dem.sce";
"Arduino DC motor", "dc_motor.dem.sce";
"Arduino Master write", "master_write.dem.sce";
+ "Ffilt coeff. of FIR low pass filter","ffilt.dem.sce";
+ "Design of FIR linear phase filters using freq. samping technique","fsfirlin.dem.sce";
+ "Samples of sinc function","filt_sinc.dem.sce";
];
subdemolist(:,2) = demopath + subdemolist(:,2);