Hello , In this article you will be able to explore about MATLAB .
Let's Understand the situation and according to given problem , try to solve
Que : Draw the Voltage vs Time diagram in Three Phase Voltage , In which user can define frequency and maximum Voltage Supply.
Answer : Use MATLAB , and write the following Program
clc
clear all
t=0:0.001:1;
Vm=input('Pls Enter Maximum Voltage: ');
f=input('Pls Enter Frequency : ');
% Vm=320;
% f=1;
Vr=Vm*sin(2*pi*f*t);
Vy=Vm*sin((2*pi*f*t)-(2*pi/3));
Vb=Vm*sin((2*pi*f*t)+(2*pi/3));
hold on
plot(t,Vr,'r','LineWidth',2);
hold on
plot(t,Vy,'y','linewidth',2);
hold on
plot(t,Vb,'b','linewidth',2);
xlabel('Time');
ylabel('Voltage','FontSize',14);
title('3-ph voltage waveform','FontSize',14);
0 Comments
Please do not enter any spam link in the comment box.