How to graph 3-phase voltage using matlab?
조회 수: 15 (최근 30일)
이전 댓글 표시
I need to develop a MATLAB m-code that could be used to sketch the three-phase line to neutral and line-to-line voltages. I appreciate any help because I'm a beginner in MATLAB.
댓글 수: 0
채택된 답변
Rick Rosson
2012년 4월 24일
Please try:
Fs = 8000;
dt = 1/Fs;
StopTime = 2;
t = (0:dt:StopTime-dt)';
N = size(t,1);
Fc = 60;
phi = [ -2*pi/3 0 2*pi/3 ];
Vrms = 110;
x = Vrms*sqrt(2)*cos(2*pi*Fc*t*ones(1,3) + ones(N,1)*phi);
figure;
plot(t,x);
HTH.
추가 답변 (1개)
Mo Go
2021년 5월 4일
Fs = 50;
dt = 1/Fs;
StopTime = 2;
t = (0:dt:StopTime-dt)';
N = size(t,1);
Fc = 60;
phi = [ -2*pi/3 0 2*pi/3 ];
Vrms = 110;
x = Vrms*sqrt(2)*cos(2*pi*Fc*t*ones(1,3) + ones(N,1)*phi);
figure;
plot(t,x);
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Sensors and Transducers에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!