标签: matlab plot 2d polar-coordinates
如何在Matlab中使用polar()命令绘制直线?
polar()
示例:(考虑θ为度)
rho1 = 50; rho2 = 60; theta1 = 45; theta2 = 60; syntax: polar(theta,rho);
答案 0 :(得分:2)
就像这样:
% Using your definitions: rho=[rho1 rho2]; theta=[theta1 theta2]; polar(theta,rho);