blob: eda20c465e51ff79f0b0f5a005220945cb6a07bd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
//SCI2C: DEFAULT_PRECISION= DOUBLE
function mainfunction()
vr1 = [1 2];
vr2 = [3 4];
vc1 = [11;12]
vc2 = [13;14]
M1 = [vr1 vr2;vr2 vr1];
M2 = [vc1 vc2];
disp(M1);
disp(M2);
endfunction
|