I need some compass phasor plots

2 Ansichten (letzte 30 Tage)
Derek Paul
Derek Paul am 26 Mär. 2017
Beantwortet: Star Strider am 26 Mär. 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.

Antworten (1)

Star Strider
Star Strider am 26 Mär. 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.

Kategorien

Mehr zu Graphics finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by