2

如何polar()在 Matlab 中使用命令绘制直线?

示例:(考虑 theta 以度为单位)

rho1 = 50;         rho2 = 60;
theta1 = 45;       theta2 = 60;

syntax: polar(theta,rho);
4

1 回答 1

2

Just like this:

  % Using your definitions:
rho=[rho1 rho2];
theta=[theta1 theta2];
polar(theta,rho);

enter image description here

于 2012-11-18T09:22:04.443 回答