I need some compass phasor plots

6 次查看(过去 30 天)
Derek Paul
Derek Paul 2017-3-26
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.

回答(1 个)

Star Strider
Star Strider 2017-3-26
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.

类别

Help CenterFile Exchange 中查找有关 Polar Plots 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by