Coins

Is there an algorithm to use the max numbers of coins in your pocket?
2.1K Downloads
Updated 5 Dec 2025

How do you choose the coins in your pocket to pay something?

Cite As

Giuseppe Cardillo (2026). Coins (https://github.com/dnafinder/coins), GitHub. Retrieved .

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

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes
2.0.0.0

main makeup of source code

1.4.0.0

Changes in description

1.3.0.0

Somewhere, the floating point representation of cents retrieve an incorrect results. This was fixed multiplying by 100 (so the cents became an integer).

1.2.0.0

The file coins.fig is more rational using global variables

1.1.0.0

Changes in help section

1.0.0.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.