Closing out points in Matlab
2 次查看(过去 30 天)
显示 更早的评论
Hi everyone,
Does anybody knows how can I close out the points plotted around a circle in Matlab? See the attached figure. I just used a command line(x,y) to connect my points around but it doesn't close out. Is it because its not a perfect circle? Thanks
0 个评论
采纳的回答
Star Strider
2017-11-14
It is not closing on its own because it needs help to close the curve.
Try this:
line([x x(1)],[y y(1)])
NOTE — This is UNTESTED CODE. It should work.
更多回答(0 个)
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!