I need some compass phasor plots

2 visualizaciones (últimos 30 días)
Derek Paul
Derek Paul el 26 de Mzo. de 2017
Respondida: Star Strider el 26 de Mzo. de 2017
I need one compass diagram plotting these points
4.008∠59.935°V 7.086∠27.616°V 7.75∠14.37°V
And another one plotting these points
5.99∠-30.07°V 3.716∠-62.32°V 1.946∠-75.92°V
I keep getting weird figures.
Please help.

Respuestas (1)

Star Strider
Star Strider el 26 de Mzo. de 2017
Here you go:
phsr1 = [4.008 59.935; 7.086 27.616; 7.75 14.37];
phsr2 = [5.99 -30.07; 3.716 -62.32; 1.946 -75.92];
figure(1)
compass(phsr1(:,1).*cosd(phsr1(:,2)), phsr1(:,1).*sind(phsr1(:,2)))
figure(2)
compass(phsr2(:,1).*cosd(phsr2(:,2)), phsr2(:,1).*sind(phsr2(:,2)))
Since this is likely a homework assignment, I’ll let you figure out how it works. The important information are in the documentation for the various functions.

Categorías

Más información sobre Graphics en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by