a=rand(3)
a =
0.7922 0.0357 0.6787
0.9595 0.8491 0.7577
0.6557 0.9340 0.7431
>> a(4,5)=0
a =
0.7922 0.0357 0.6787 0 0
0.9595 0.8491 0.7577 0 0
0.6557 0.9340 0.7431 0 0
0 0 0 0 0 0