Texnologiyalari universiteti urganch filiali mustaqil ish


Download 94.15 Kb.
bet3/3
Sana15.06.2023
Hajmi94.15 Kb.
#1486869
1   2   3
Bog'liq
Amaliy dasturiy paketlar mustaqil ish

Arifmetik
amallar

Boshlang‘ich qiymatlar

Buyruq

Natija

Matritsalar
yig‘indisini
hisoblash

A=[ 1 3 2; 5 10 8; 9 6 7] B=[16 3 13; 4 11 8; 1 5 1]

>>A+B

ans =
17 6 15

  1. 21 16

  2. 11 8

Matritsalar
ayirmasini
hisoblash

A=[ 1 3 2; 5 10 8; 9 6 7] B=[16 3 13; 4 11 8; 1 5 1]

>>A-B

ans =
-15 0 -11 1 -1 0 8 1 6

Matritsaga skalyar sonni qo‘shish

A=[ 1 3 2; 5 10 8; 9 6 7] B=5

>>A+B

ans =
6 8 7 10 15 13 14 11 12

Matritsalar elementlarini ko‘paytmasin i hisoblash

A=[ 1 3 2; 5 10 8; 9 6 7] B=[16 3 13; 4 11 8; 1 5 1]

>>A.*B

ans =
16 9 26 20 110 64 9 30 7







Matritsalar
elementlarini
Bo‘linmasini
hisoblash

A=[ 1 3 2; 5 10 8; 9 6 7] B=[16 3 13; 4 11 8; 1 5 1]

>>A./B

ans =
0.0625 1.0000 0.1538 1.2500 0.9091 1.0000 9.0000 1.2000 7.0000

Matritsa
elementlarini
darajaga

A=[ 1 3 2; 5 10 8; 9 6 7] C=2

V
>
n

ans =
1 9 4 25 100 64 81 36 49





Download 94.15 Kb.

Do'stlaringiz bilan baham:
1   2   3




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling