File Exchange

image thumbnail

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

version (1.57 KB) by AMITAVA BISWAS
Progressively calculates sin and cos values along a circle.


Updated 08 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.

Comments and Ratings (0)


some comments added

MATLAB Release Compatibility
Created with R2013b
Compatible with any release
Platform Compatibility
Windows macOS Linux