Vous êtes sur la page 1sur 1

u =

0 1 2
v =
0 1 2
w =
0 2
-----------------------------------------------
diag(full(Ds))'
ans =
Columns 1 through 15
1 1 0 1 1 0 1 1 0 1 1 0 1
1 0
Columns 16 through 30
1 1 0 1 1 1 1 1 1 0 0 0 1
1 1
Columns 31 through 45
1 1 1 0 0 0 2 2 2 2 2 2 2
2 2
Columns 46 through 54
0 0 0 0 0 0 0 0 0
-----------------------------------------------
diag(full(Da))'
ans =
Columns 1 through 15
2 2 2 2 2 2 0 0 0 0 0 0 0
0 0
Columns 16 through 30
0 0 0 2 2 0 2 2 0 2 2 0 0
0 0
Columns 31 through 45
0 0 0 0 0 0 1 1 0 1 1 0 0
0 0
Columns 46 through 54
1 1 0 1 1 0 0 0 0

Vous aimerez peut-être aussi