summaryrefslogtreecommitdiff
path: root/tests/unit_tests/test02_IDCT
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit_tests/test02_IDCT')
-rw-r--r--tests/unit_tests/test02_IDCT/scilabcode/testidct.sci7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/unit_tests/test02_IDCT/scilabcode/testidct.sci b/tests/unit_tests/test02_IDCT/scilabcode/testidct.sci
new file mode 100644
index 0000000..deed0f9
--- /dev/null
+++ b/tests/unit_tests/test02_IDCT/scilabcode/testidct.sci
@@ -0,0 +1,7 @@
+//SCI2C: DEFAULT_PRECISION= FLOAT
+//test for inverse discrete cosine tranfrom
+function testidct()
+ b=[1 2 3;4 5 6+%i] //declaring complex matrix
+ y=idct(b) //calling idct
+ disp(y)
+endfunction