Circle to Any Polygon Conversion
Version 2.0.0 (1.81 KB) by
Sambit Supriya Dash
Enter any value in place of "n" as the no. of sides of polygon, and enter the radius of circle. Code will circumscribe the circle within it
This code takes circle and by using few geometric analysis, it circumscribes the circle within the user defined polygon.
Enjoy!
Don't forget to rate, comment, acknowledge or cite.
Thank You!
Cite As
Sambit Supriya Dash (2024). Circle to Any Polygon Conversion (https://www.mathworks.com/matlabcentral/fileexchange/92298-circle-to-any-polygon-conversion), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2021a
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Acknowledgements
Inspired: Circle to Any Polygon Conversion
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.