It is commonly known as MAGIC CIRCLE GENERATOR. It is useful for small micro-controllers with small memory. Especially when SIN OR COS trigonometric functions are unavailable. Here is a slightly different version of the common MAGIC CIRCLE. This version is suitable for symmetric synchronous updates and avoids the ripple problem seen in common implementations. This arrangement can behave as a digital resonator. It requires relatively simple arithmetic. This algorithm relates x and y coordinates of equally spaced points along a circle. It can also be used to compute trigonometric functions of any angle.
AMITAVA BISWAS (2021). MATLAB demo of Magic Circle TRIGONOMETRIC calculation with simple and easy arithmetic (https://www.mathworks.com/matlabcentral/fileexchange/44975-matlab-demo-of-magic-circle-trigonometric-calculation-with-simple-and-easy-arithmetic), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!