summaryrefslogtreecommitdiff
path: root/src/Scilab2C/SCI2CTests/Mes_tests/signalProcessing/mainfunctionIfft.sci
blob: 3da3e39b0dad809f3aea8093e03eb9751dfadadc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
//SCI2C: DEFAULT_PRECISION= DOUBLE

function mainfunction()

//test ifft

//real
disp (ifft(4))

a=[1 0 5; -2 4 0 ; -4 -2 -1]

disp (ifft(a))


//complex
disp (ifft(4-2*%i))


b=[1+%i 0+0*%i; 5-2*%i 4+0*%i]

disp (ifft(b))


endfunction