diff options
Diffstat (limited to '2.3-1/tests/unit_tests/test01_DCT/scilabcode/main.sci')
-rw-r--r-- | 2.3-1/tests/unit_tests/test01_DCT/scilabcode/main.sci | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/2.3-1/tests/unit_tests/test01_DCT/scilabcode/main.sci b/2.3-1/tests/unit_tests/test01_DCT/scilabcode/main.sci new file mode 100644 index 00000000..33c44622 --- /dev/null +++ b/2.3-1/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 |