summaryrefslogtreecommitdiff
path: root/tests/unit_tests/test01_DCT
diff options
context:
space:
mode:
authorukashanoor2017-07-07 17:12:14 +0530
committerukashanoor2017-07-07 17:12:14 +0530
commitec1677606d3e636a47d4fd0853f83868b3953314 (patch)
tree460ef055bfa213fa98a9306035ad0578a6036e9e /tests/unit_tests/test01_DCT
parent87823db220f4c3b8bee16c0b2e08027704de1efe (diff)
downloadScilab2C_fossee_old-ec1677606d3e636a47d4fd0853f83868b3953314.tar.gz
Scilab2C_fossee_old-ec1677606d3e636a47d4fd0853f83868b3953314.tar.bz2
Scilab2C_fossee_old-ec1677606d3e636a47d4fd0853f83868b3953314.zip
array declaration
Diffstat (limited to 'tests/unit_tests/test01_DCT')
-rw-r--r--tests/unit_tests/test01_DCT/scilabcode/main.sci7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/unit_tests/test01_DCT/scilabcode/main.sci b/tests/unit_tests/test01_DCT/scilabcode/main.sci
new file mode 100644
index 0000000..33c4462
--- /dev/null
+++ b/tests/unit_tests/test01_DCT/scilabcode/main.sci
@@ -0,0 +1,7 @@
+//SCI2C: DEFAULT_PRECISION= FLOAT
+//test for discrete cosine tranform using precision as float
+function main()
+ b=([5 2 6 7;1 9 7 6+%i])
+ y=dct(b,1) //calling dct
+ disp(y)
+endfunction