a=rand(3,2)
a =
0.8147 0.9134
0.9058 0.6324
0.1270 0.0975
demo1
A =
1 2 3
4 5 6
7 8 9
B =
2 0 3
4 1 6
0 5 2
C =
10 17 21
28 35 54
46 53 87
a=fix(10*rand(1,5))
a =
2 5 9 9 1
a-0.5
ans =
1.5000 4.5000 8.5000 8.5000 0.5000
z=[rand(2,3),rand(2,2)]
z =
0.9706 0.4854 0.1419