How do I plot a complex voltage?

조회 수: 2 (최근 30일)
Damián Muciño
Damián Muciño 2018년 8월 24일
편집: madhan ravi 2018년 8월 25일
I´ve got 3 complex voltages that I need to plot against time in an interval from 0s to 10s:
Vx = 4.9451 + 2.9920i
Vy = 10.0935 - 9.7970i
Vz = -5.5966 - 0.9360i
  댓글 수: 1
madhan ravi
madhan ravi 2018년 8월 25일
편집: madhan ravi 2018년 8월 25일
Only you can plot real Vs imaginary or time Vs real or time Vs imaginary .

댓글을 달려면 로그인하십시오.

채택된 답변

madhan ravi
madhan ravi 2018년 8월 25일
편집: madhan ravi 2018년 8월 25일
Vx = 4.9451 + 2.9920i
Vy = 10.0935 - 9.7970i
Vz = -5.5966 - 0.9360i
V=[Vx Vy Vz]
time=linspace(0,10,3)
subplot(3,1,1)
plot(time,real(V),'or-')
xlabel('time')
ylabel('real')
subplot(3,1,2)
plot(time,imag(V),'og-')
xlabel('time')
ylabel('imag')
subplot(3,1,3)
plot(real(V),imag(V),'ok-')
xlabel('real')
ylabel('imag')

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by