summaryrefslogtreecommitdiff
path: root/tests/unit_tests/test01_DCT/scilabcode/main.sci
blob: 33c44622a390864631ab98e407b68a4162b9d25e (plain)
1
2
3
4
5
6
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