File Exchange

image thumbnail

modularArithmetic

version 1.0.1 (4.1 MB) by Edgar Guevara
Modular arithmetic or modulo multiplication circle

1 Download

Updated 13 Mar 2020

View Version History

GitHub view license on GitHub

Modular arithmetic or modulo multiplication circle. Display of the times table as secants in a circle.
Performs the following operation: multiplier mod numberOfPoints.
Renders a cardioid (a.k.a. the Heart of Mathematics) or Simon Plouffe patterns. Related to the reflection of light rays in a cup of coffee. Some patterns show up in the Mandelbrot set.
Animated video available on: https://youtu.be/YRQZAqlxbCw


______________________________________________________________________________
Copyright (C) 2019 Edgar Guevara, PhD
______________________________________________________________________________

Cite As

Edgar Guevara (2021). modularArithmetic (https://github.com/guevaracodina/modularArithmetic), GitHub. Retrieved .

Comments and Ratings (0)

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

Community Treasure Hunt

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

Start Hunting!