How to create a polar rectangle in Matlab

6 次查看(过去 30 天)
Please help me determine how to create a polar rectangle (not sure what to call it) in Matlab. The closest I have gotten is using the linspace function for the two arc and a simple line to connect the two arcs. I can't seem to cleanly connect the four line segments to make a continuous shape.

采纳的回答

Star Strider
Star Strider 2018-2-28
I am not certain what you want.
Try this:
theta = linspace(0, 2*pi, 5);
figure(1)
polarplot(theta, ones(size(theta)))
  8 个评论

请先登录,再进行评论。

更多回答(0 个)

类别

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