Yagona ko'pburchakni yaratish
Ko'pburchak shunchaki bir yuzli yamoqdir. Ko'pburchakni yaratish uchun uchlari koordinatalarini va shaklning bayoni bilan rangli ma'lumotlarni belgilang
patch (x-koordinatalar, y-koordinatalar, [z-koordinatalar], colordata)
Masalan, ushbu bayonotlarda qora qirrasi bilan o'ralgan sariq yuzli 10 qirrali ko'pburchak ko'rsatilgan. Buyruq bir to'g'ri rostladi ko'pburchak ishlab chiqaradi.axis equal
>> t = 0:pi/5:2*pi;
>> figure
>> patch(sin(t),cos(t),'y')
>> axis equal
>> a = t(1:length(t)-1); %remove redundant vertex definition
>> figure
>> patch(sin(a),cos(a),1:length(a),'FaceColor','interp')
>>
>> axis equal
Xulosa
Ushbu laboratoriya ishida MatLab matematik paketida grafiklar chizish va uning parametrlarini sozlash bo’yicha korsatmalar berildi.
Foydalanilgan adabiyotlar
1. MATLAB 7.*/R2006/R2007 o’quv qo’llanma.:M.2008.
2. Mathematica. Wolfram, Stephen, 1959.
3. Dyakonov V. P., Abramеnkova I. V., Kruglov V. V. MATLAB 5 s pakеtami
4. rasshirеniy. – M.: Nolidj, 2001.
5. Dyakonov V. P. MATLAB 6.5 SP1G`7 Q Simulink 5G`6 v. Obrabotka signalov I proеktirovaniе filtrov. – M.: Solon_R, 2005.
6. Dyakonov V. P. MATLAB 6.5 SP1G`7 Q Simulink 5G`6 v. Rabota s izobrajе_
niyami i vidеopotokami. – M.: Solon_R, 2005.
7. Dyakonov V. P., Kruglov V. V. MATLAB 6.5 SP1 7G`7 SP1G`7 SP2 QSimulin
8. 5G`6 v. Instrumеnto` iskusstvеnnogo intеllеkta i bioinformatiki. – M.: Solon_
PRЕSS, 2006 .
9. Dyakonov V. P. VisSim+Mathcad+MATLAB. Vizualnoе matеmatichеskoе
Do'stlaringiz bilan baham: |