## how to plot phasors

## how to plot phasors

(OP)

I am just looking for a routine to plot a group of electrcal phasors like:

polar representation

1.00 1.00 1.00

-30.00 -150.00 90.00

or

equivalent rectangular representation

0.8660 - 0.5000i

-0.8660 - 0.5000i

0.0000 + 1.0000i

polar representation

1.00 1.00 1.00

-30.00 -150.00 90.00

or

equivalent rectangular representation

0.8660 - 0.5000i

-0.8660 - 0.5000i

0.0000 + 1.0000i

## RE: how to plot phasors

=====================================

(2B)+(2B)' ?

## RE: how to plot phasors

## CODE

compass(A)

//signed//

Christopher K. Hubley

Mechanical Engineer

Sunpower Incorporated

Athens, Ohio

## RE: how to plot phasors

Check my blog for some tips on making great plots in Octave or Matlab: http:

//signed//

Christopher K. Hubley

Mechanical Engineer

Sunpower Incorporated

Athens, Ohio

## RE: how to plot phasors

I guess everybody make mistake. Attachment are explanation and a matlab program, I found out after.

Thank you.

## RE: how to plot phasors

## RE: how to plot phasors

//signed//

Christopher K. Hubley

Mechanical Engineer

Sunpower Incorporated

Athens, Ohio

## RE: how to plot phasors

## RE: how to plot phasors

## CODE

A = [0.8660 - 0.5000*i; -0.8660 - 0.5000*i; 0.0000 + 1.0000*i];

B = [ 1, 1, 1];

C = [-30, -150, 90];

h = figure(1);

subplot(2,2,1);

compass(A);

title('Compass Function Plotting Rectangular Representation');

subplot(2,2,2);

Phasor(A);

title('Phasor Function Plotting Rectangular Representation');

subplot(2,2,3);

U = B.*cos(C.*pi/180);

V = B.*sin(C.*pi/180);

compass(U,V);

title('Compass Function Plotting Polar Representation');

subplot(2,2,4);

Phasor([B;C]');

title('Phasor Function Plotting Polar Representation');

W = 5; H = 4;

set(h,'PaperUnits','inches')

set(h,'PaperOrientation','portrait');

set(h,'PaperSize',[H,W])

set(h,'PaperPosition',[0,0,W,H])

FS = findall(h,'-property','FontSize');

set(FS,'FontSize',6);

print(h,'-dpng','Phasor-v-compass.png')

//signed//

Christopher K. Hubley

Mechanical Engineer

Sunpower Incorporated

Athens, Ohio

## RE: how to plot phasors

I make mistake.you´re all right.

I am not expert in matlab.

## RE: how to plot phasors

//signed//

Christopher K. Hubley

Mechanical Engineer

Sunpower Incorporated

Athens, Ohio

--

http://engineeringliberty.wordpress.com