From ec1677606d3e636a47d4fd0853f83868b3953314 Mon Sep 17 00:00:00 2001 From: ukashanoor Date: Fri, 7 Jul 2017 17:12:14 +0530 Subject: array declaration --- tests/unit_tests/test01_DCT/scilabcode/main.sci | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 tests/unit_tests/test01_DCT/scilabcode/main.sci (limited to 'tests/unit_tests/test01_DCT/scilabcode/main.sci') 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 -- cgit