summaryrefslogtreecommitdiff
path: root/50/CH3/EX3.2/ex_3_2.sce
blob: bc98fc2027ccac9ce15645c343a26e2ed2c38e0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//example no.3.2
// show if a given matrix 'A' possesses 'property A'

A=[2 -1 0 -1;-1 2 -1 0;0 -1 2 0;0 0 -1 2 ]

P=[0 0 0 1;0 1 0 0;0 0 1 0;1 0 0 0]             // let us take the pemutation matrix as P

// then we find that 

P*A*P'

// is of the form (3.2) . hence the matrix 'A' has property A