blob: ae5e83db56dd3f07395de5e79fc3e890c77b1a65 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
//SCI2C: DEFAULT_PRECISION= DOUBLE
function mainfunction()
//test atan
disp (atan(7));
disp (atan(2+11*%i))
c=[4 2 3 ;8 8 4; 3 4 5]
d=[4 2 3+3*%i ;8 8-1*%i 4; 3+4*%i 4 5]
disp (atan(c))
disp (atan(d))
endfunction
|