9 ga 9 matritsa berilgan, yig‘indisi va ayirmasi hisoblansin a va b matritsa Dastur matni



Download 0.53 Mb.
bet1/5
Sana08.12.2019
Hajmi0.53 Mb.
  1   2   3   4   5
9 ga 9 matritsa berilgan, yig‘indisi va ayirmasi hisoblansin.

a va b matritsa
Dastur matni:

>> a=[2 2 6 5 4 7 8 9 7; 1 5 8 9 4 5 6 7 8; 1 2 3 5 4 6 8 4 5; 1 2 5 6 4 8 9 6 4; 5 1 2 3 5 4 6 7 8; 8 5 4 1 2 5 6 7 8; 5 8 9 4 5 6 1 2 3; 5 2 3 5 8 7 4 5 6; 8 4 1 2 5 7 8 6 3]

>> b=[1 2 5 7 4 5 6 7 8; 2 5 1 3 4 8 5 6 9; 1 2 6 5 4 8 5 2 6; 1 8 9 6 5 2 3 4 6; 5 1 2 4 5 2 4 5 6; 8 5 6 9 7 8 4 5 1; 2 3 5 8 6 4 9 8 7; 1 5 8 7 1 2 3 6 7; 1 5 8 9 6 5 4 1 2]
>> y=a-b >> y=a+b

Natija:







Do'stlaringiz bilan baham:
  1   2   3   4   5


Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2019
ma'muriyatiga murojaat qiling

    Bosh sahifa