フィルターのクリア

How to graph 3-phase voltage using matlab?

15 ビュー (過去 30 日間)
Rurz Ali
Rurz Ali 2012 年 4 月 23 日
回答済み: Mo Go 2021 年 5 月 4 日
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.

採用された回答

Rick Rosson
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 件のコメント
Rurz Ali
Rurz Ali 2012 年 4 月 26 日
Thanks, I appreciate it

サインインしてコメントする。

その他の回答 (1 件)

Mo Go
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);

カテゴリ

Help Center および File ExchangeSensors and Transducers についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by