Guruh talabasi Saloxiddinov Sirojbek Azizbek og’li Mashinali o’qitish fanidan 2-Amaliy Ish Mavzu: Ko’p o’zgaruvchilik chiziqlik regressiya


Download 1.23 Mb.
bet1/3
Sana05.12.2020
Hajmi1.23 Mb.
#160344
  1   2   3
Bog'liq
Saloxiddinov Sirojbek Azizbek og'li 715-18 4.2


O’ZBEKISTON RESPUBLIKASI AXBOROT KOMMUNIKATSIYA VA TEXNOLOGIYALARNI RIVOJLANTIRISH VAZIRLIGI

Muhammad al-Xorazmiy nomidagi Toshkent Axborot Texnologiyalari Universiteti


Axborot Xavfsizligi fakulteti 715-18 guruh talabasi

Saloxiddinov Sirojbek Azizbek og’li

Mashinali o’qitish fanidan

4.2-Amaliy Ish

Mavzu:Ko’p o’zgaruvchilik chiziqlik regressiya

Guruh: 715-18

Bajardi: Saloxiddinov Sirojbek Azizbek og’li

Qabul qildi: Elnur Islomovich



Toshkent 2020

Matlab interface


4.1 -amaliy ishda matlab interfeysi ko’rsatib o’tilgan edi, hozir “edit” kommandasi orqali qo’shimcha oyna hosil qilib olamiz.

Bu jadvalda berilgan ma’lumotlarni, matlab oynasi ochib olingandan so’ng chaqirib olinadi, ya’ni bu jadval joylashgan faylni joyini matlab oynasidan ko’rsatib yuboramiz.

a=[1 8 3.4 2 11 2.4


  1. 13 5.6

  2. 15 6.2

  3. 21 5.3

  4. 28 7.2

  5. 33 6.8

  6. 39 8.5

  7. 45 8.23 10 56 9.123]; y=a(:,1)'; x1=a(:,2)'; x2=a(:,3)';

plot3(x1,x2,y,'bo','linewidth',4); hold on; n=length(x1); a=[ones(n,1) x1' x2']; c=pinv(a)*y'; x1=linspace(1,100,100); x2=linspace(1,100,100); [x1,x2]=meshgrid(x1,x2); y=c(1)+c(2)*x1+c(3)*x2; mesh(x1,x2,y)

xlabel('Distance from Base station'); ylabel('Mobility of user'); zlabel('Signal strength'); title('Signal strength variation with mobility of the user and distance from base station ') grid on;



Matlab oynasida ochib olingandan keyingi ko’rinishi

Keying qadamda “Run and advance” kommandasi orqali berilgan funksiyani ishlatamiz





Download 1.23 Mb.

Do'stlaringiz bilan baham:
  1   2   3




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