From: Haris Hameed on
if
n=4 %no of slabs
t=0.5 %thickness of one slab

how to write matrix Z



Z= 0.5
0.25
0.25
0
0
-0.25
-0.25
0.5