MATLAB demo of Magic Circle TRIGONOMETRIC calculation with simple and easy arithmetic

Progressively calculates sin and cos values along a circle.
298 Downloads
Updated 8 Jan 2014

View License

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 (2024). 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
Created with R2013b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Language Fundamentals in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.3.0.0

some comments added