Topshiriqni bajarish tartibi
|
Matlab buyruqlari
|
Matlab ni ishchi xolatini tozalash (xotira).
|
clear all
|
Matlab oynasini tozalash.
|
clc
|
tf buyrug‘i bо‘yicha qisqacha ma’lumot (yordam) olish .
|
help tf
|
Ushbu buyruqning bajarilishi fayli adresini aniqlash.
|
which('tf')
|
tf obyekti sifatida uzatish funksiyasini1 kiriting.
|
n = [n2 n1 n0]
d = [1 d2 d1 d0]
f = tf ( n, d )
|
Shubu obyektda uzatish funksiyasi surati va maxrajlari kо‘rinishini tekshirib kо‘ring.
|
[n1,d1] = tfdata ( f, 'v' )
|
Uzatish funksiyasining nul va qutblarini toping.
|
z = zero ( f )
p = pole ( f )
|
О‘rnatilgan rejimda zvenoning kuchaytirish koeffitsiyentini toping.
|
k = dcgain ( f )
|
Sistemaning о‘tazuvchanlik palasasini aniqlang (ACHX da kichik chastota dB dan kichik qiymatni tashkil etadi).
|
b = bandwidth ( f )
|
Fazo xolatida sistemaning modelini quring.
|
f_ss = ss ( f )
|
Shunday qilingki, tо‘g‘ri uzatish koeffitsiyenti 1 ga teng bо‘lsin.
|
f_ss.d = 1
|
О‘rnatilgan rejimda zvenoning yangi kuchaytirish koeffitsiyentini toping.
|
k1 = dcgain ( f_ss )
|
va koeffitsiyentlar qanday bog‘langan? Nima uchun?
|
|
«Nul-qutb» formasida berilgan sistemaning modelini quring.
|
f_zp = zpk ( f )
|
Ishchi fazoda qanday о‘zgaruvchilar mavjud, tekshiring.
|
who yoki whos
(farqi nimada?)
|
Sistemaning nul va qutblarini joylashish grafigini quring.
|
pzmap ( f )
|
Barcha elementar zvenolar uchun dempfirlash koeffitsiyenti va xususiy chastotalarni aniqlang.
|
[wc,ksi,p] = damp ( f )
|
LTIViewer modulini ishga tushiring.
|
Ltiview
|
f modelini yuklang.
|
File – Import
|
Ushbu sistemaning impulsli xarakteristikasini (vazn funksiyasini) quring.
|
SО‘T – Plot Types - Impulse
|
f_ss modelini yuklang.
|
File – Import
|
Ikkinchi sistemaning impulsli xarakteristikasi qurilgan-mi, tekshiring?
|
SО‘TM – Systems
|
f sistemani ajrating. Turli sistemalar impulsli xarakteristikalari nima uchun bir xol?
|
SО‘T – Systems
|
Ikkala sistemani ulang.
|
SО‘T – Systems
|
Sistemaning о‘tkinchi xarakteristikasini quring.
|
SО‘T – Plot Types – Step
|
Grafikda kо‘zda tuzilgan xar bir funksiyalarni bajaring:
maksimum
о‘tish jarayoni vaqti2
о‘sish vaqti (qaror qiymatning 10% dan 90% gacha)
qaror qiymati
|
SО‘T – Characteristics:
Peak Response
Settling Time
Rise Time
Steady State
|
Doira-belgili parametrlarning son qiymatlari bilan ekranda kо‘rsatish uchun sichqoncha tugmasini bosing.
|
|
Qurilgan grafikni alohida oynada eksport qiling.
|
File – Print to Figure
|
Grafikni vektorli metafayl formatida buferga kо‘chirib oling.
|
print -dmeta
|
Hisobotga (Microsoft Word) buferdagi grafikni quying.
|
SО‘T - Vstavit
|
LTIViewer oynasini yoping.
|
|
Chastotaviy xarakteristikani qurish uchun chastota massivini yarating (logarifmik shkalada teng taqsimlangan dan gacha intervalda 100 nuquta).
|
w = logspace(-1, 2, 100);
|
Berilgan sistemaning chastotaviy xarakteristikasini hisoblang3…
|
r = freqresp ( f, w );
r = r(:);
|
… va abssissa о‘qi bо‘yicha logarifmik masshtabli о‘qda uni quring.
|
semilogx ( w, abs(r) )
|
Grafikni vektorli metafayl formatida buferga kо‘chirib oling.
|
print -dmeta
|
Hisobotga (Microsoft Word) buferdagi grafikni quying. Ctatistik rejimda kuchaytirish koeffitsiyentini grafikdan qanday topish mumkinligini va sistemaning о‘tkazuvchanlik palasasini qanday aniqlashni tushuntiring.
|
SО‘T – Vstavit
|
Matlab ning buyruqlar oynasidan tashqari oynalarni bekiting.
|
|
Davri 4 sekundga (jami 5 ta impuls) teng bо‘lgan birlik amplitudali uchburchaksimon impulsli signalni quring.
|
[u,t] = gensig('square',4);
|
Modellashtirishni bajaring va kirish ma’lumotlar orqali f sistemaning chiqish signali grafigini quring.
|
lsim (f, u, t)
|
Grafikni vektorli metafayl formatida buferga kо‘chirib oling.
|
print -dmeta
|
Hisobotga (Microsoft Word) buferdagi grafikni quying.
|
SО‘T – Vstavit
|