MATLAB demo of Magic Circle TRIGONOMETRIC calculation with simple and easy arithmetic
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.
Cite As
AMITAVA BISWAS (2025). 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 Compatibility
Windows macOS LinuxCategories
Tags
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.
Version | Published | Release Notes | |
---|---|---|---|
1.3.0.0 | some comments added |