summaryrefslogtreecommitdiff
path: root/2.3-1/demos
diff options
context:
space:
mode:
authorukashanoor2017-07-07 17:12:14 +0530
committerukashanoor2017-07-07 17:12:14 +0530
commitccf9047acb6f74a67a23659aeb21e6bee6940df7 (patch)
treecdca6ec90248ba07fe151926ad3b80c84b59167e /2.3-1/demos
parente9de337a34e123749927039f7011fb30fc96f7c9 (diff)
downloadScilab2C-ccf9047acb6f74a67a23659aeb21e6bee6940df7.tar.gz
Scilab2C-ccf9047acb6f74a67a23659aeb21e6bee6940df7.tar.bz2
Scilab2C-ccf9047acb6f74a67a23659aeb21e6bee6940df7.zip
array declaration
Diffstat (limited to '2.3-1/demos')
-rw-r--r--2.3-1/demos/scilab2c.dem.gateway.sce4
-rw-r--r--2.3-1/demos/test_dct.dem.sce18
-rw-r--r--2.3-1/demos/test_idct.dem.sce18
3 files changed, 39 insertions, 1 deletions
diff --git a/2.3-1/demos/scilab2c.dem.gateway.sce b/2.3-1/demos/scilab2c.dem.gateway.sce
index 71372e25..3346885f 100644
--- a/2.3-1/demos/scilab2c.dem.gateway.sce
+++ b/2.3-1/demos/scilab2c.dem.gateway.sce
@@ -16,6 +16,8 @@ subdemolist = ["Trigonometric Identity" , "TrigonometricIdentity.dem.sce";
"Linear Regression" , "LinearRegression.dem.sce";
"Symbols", "Symbols.dem.sce";
"High Pass Filter", "Filter.dem.sce";
+ "Discrete Cosine Transform" , "test_dct.dem.sce";
+ "Inverse Cosine Transform" , "test_idct.dem.sce";
];
-subdemolist(:,2) = demopath + subdemolist(:,2); \ No newline at end of file
+subdemolist(:,2) = demopath + subdemolist(:,2);
diff --git a/2.3-1/demos/test_dct.dem.sce b/2.3-1/demos/test_dct.dem.sce
new file mode 100644
index 00000000..b1b62475
--- /dev/null
+++ b/2.3-1/demos/test_dct.dem.sce
@@ -0,0 +1,18 @@
+//
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2010-2010 - DIGITEO - Bruno JOFRET
+//
+// 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 : Ukasha Noor
+//
+
+lines(0);
+
+global SCI2CHOME
+
+scilab2c(SCI2CHOME + "/tests/unit_tests/test01_DCT/scilabcode/main.sci", TMPDIR,SCI2CHOME + "/tests/unit_tests/test01_DCT/scilabcode");
+
diff --git a/2.3-1/demos/test_idct.dem.sce b/2.3-1/demos/test_idct.dem.sce
new file mode 100644
index 00000000..b1d33392
--- /dev/null
+++ b/2.3-1/demos/test_idct.dem.sce
@@ -0,0 +1,18 @@
+//
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2010-2010 - DIGITEO - Bruno JOFRET
+//
+// 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 : Ukasha Noor
+//
+
+lines(0);
+
+global SCI2CHOME
+
+scilab2c(SCI2CHOME + "/tests/unit_tests/test02_IDCT/scilabcode/testidct.sci", TMPDIR,SCI2CHOME + "/tests/unit_tests/test02_IDCT/scilabcode");
+