如何在 Matlab 中使用 polar()
命令绘制直线?
示例:(考虑 theta 以度为单位)
rho1 = 50; rho2 = 60;
theta1 = 45; theta2 = 60;
syntax: polar(theta,rho);
最佳答案
就像这样:
% Using your definitions:
rho=[rho1 rho2];
theta=[theta1 theta2];
polar(theta,rho);
关于matlab - matlab极坐标图中的直线,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13438249/