You want to just close or you want a smoother curve while joining? The first is simple....include the first point at the end also...it will close the curve
Add dots to close a shape, padding
1 次查看(过去 30 天)
显示 更早的评论
Hello, I have a data of shapes (figure eight and ellipse shapes) but the shapes are not closed, I need to add dots to the data in order to close it so the shapes will be closed. for example I attach 2 mat files (figure eight and ellipse) AND also the figures.
Thanks.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/196686/image.png)
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!