How can I measuring Apothem distance of irregular figures

This topic has been permanently closed and transferred to MATLAB Answers.


i need a code It can meansure the Apothem distance at per 10° angles
Macro
Macro on 30 Dec 2023
Hello there,
Before calculating the apothem Apothem distance of irregular figures: first you will find the central point, then you will create the right angle from the middle of any side, then measure the apothem distance from the shortest path between the central point of the side.
I hope this is helpful for you