Thông tin tài liệu
Ñeà Taøi :
VEÕ ÑOÀ THÒ AÙP 3 PHA HÌNH SIN TREÂN 3 CÖÛA SOÅ KHAÙC
NHAU
x=linspace(0,5*pi,550);% cho x chay tu o den 4 pi voi 550 mau
>> y1=6*sin(x);
>> y2=6*sin(x+2*pi/3);
>> y3=6*sin(x-2*pi/3);
>> figure(1)
>> plot(x,y1,'r-');
>> %set axis limits and grid lines
>> grid on
>> xlabel('time')
>> ylabel('Amplitude')
>> legend('First')
>> title('3 phase_sin plot')
>> %ve do thi thu 2
>> firuge(2)
>> figure(2)
>> plot(x,y2,'g-');
>> % set axis limits and lines
>> % set axis limits and grid lines
>> xlabel('Time')
>> y label('Amplitude')
>> legend('second')
>> title('3 phase_sin plot')
>> % ve do thi thu 3
>> figure(3)
>> plot(x,y3,'g-');
>> xlabel('time')
>> ylabel('Amplitude')
>> legend('third')
>> title('3 phase_sin plot')
>>
... legend('second') >> title( '3 phase _sin plot') >> % ve thi thu >> figure (3) >> plot(x,y3,'g-'); >> xlabel('time') >> ylabel('Amplitude') >> legend('third') >> title( '3 phase _sin plot') >> ...>> title( '3 phase _sin plot') >> %ve thi thu >> firuge(2) >> figure(2) >> plot(x,y2,'g-'); >> % set axis limits
Ngày đăng: 18/10/2015, 21:20
Xem thêm: ĐỀ tài vẽ đồ THỊ áp 3 PHA HÌNH SIN TRÊN 3 cửa sổ KHÁC NHAU