From ccf9047acb6f74a67a23659aeb21e6bee6940df7 Mon Sep 17 00:00:00 2001 From: ukashanoor Date: Fri, 7 Jul 2017 17:12:14 +0530 Subject: array declaration --- 2.3-1/tests/unit_tests/test02_IDCT/scilabcode/testidct.sci | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 2.3-1/tests/unit_tests/test02_IDCT/scilabcode/testidct.sci (limited to '2.3-1/tests/unit_tests/test02_IDCT/scilabcode') diff --git a/2.3-1/tests/unit_tests/test02_IDCT/scilabcode/testidct.sci b/2.3-1/tests/unit_tests/test02_IDCT/scilabcode/testidct.sci new file mode 100644 index 00000000..deed0f99 --- /dev/null +++ b/2.3-1/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 -- cgit