8) Berilgan matritsani soat strelkasiga qarshi 90
0
ga burish uchun ishlatiladigan rot90(A)
komandasi:
A=[-1 0 1; 0 -1 0; 1 -1 1]
9) Berilgan matritsani soat strelkasiga qarshi 45
0
ga burish uchun ishlatiladigan rot45(A)
komandasi:
A=[-1 0 1; 0 -1 0; 1 -1 1]
10) Berilgan matritsani soat strelkasiga qarshi 180
0
ga
burish uchun ishlatiladigan
rot180(A) komandasi:
A=[-1 0 1; 0 -1 0; 1 -1 1]
11) Matlabda matritsalarni yuqoridan pastga burishda
flipud komandasidan foydalanish:
A=[-1 0 1; 0 -1 0; 1 -1 1]
12) Matlabda matritsalarni chapdan o’ngga burishda fliplr komandasidan foydalanish:
A=[-1 0 1; 0 -1 0; 1 -1 1]
13) Matlabda matritsalarni o`ngdan chapga burishda fliplr komandasidan foydalanish:
A=[-1 0 1; 0 -1 0; 1 -1 1]
14) Matlabda matritsalarni chapdan o’ngga burishda fliplr komandasidan foydalanish:
A=[-7 0 1; 0 -4 0; 1 -1 3]
15) Matlabda matritsalarni chapdan o’ngga burishda fliplr komandasidan foydalanish:
A=[-3 0 3; 0 -7 0; 1 -2 1]
16) A va B matritsalarni bir-biriga qo’shish
A=[-1 0 1; 0 -1 0; 1 -1 1];
B=[1 1 0; 2 -1 0; 3 8 1];
17) A va B matritsalarni bir-biriga qo’shish
A=[-1 7 1; 0 -5 0; 1 2 1];
B=[4 1 7; 2 -5 0; 3 0 1];
18) A va B matritsalarni bir-biriga ko`paytirish.
A=[-1 7 1; 0 -5 0; 1 2 1];
B=[4 1 7; 2 -5 0; 3 0 1];
19) A va B matritsalarni bir-biriga bo`lish.
A=[-1 7 1; 0 -5 0; 1 2 1];
B=[4 1 7; 2 -5 0; 3 0 1];
20) Matlab da for-loops va boshqa
operatorlardan foydalanib
n
n
o’lchamdagi
ixtiѐriy A matrisaning ustunlarining yig’indisini
hisoblovchi ustun_hisobi deb
nomlangan m-faylni (m-file) yarating.