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