# Coin Combinations (Scripts) 1.0

Average Rating
User Rating:
Visitors Rating:
My rating:

• Last update: 6 years ago
• Price: Free |
• Operating system: Linux, Mac OS X, Win All, BSD, Solaris
• Publisher: Mike Sheppard (29 other programs)
See full specifications

## Coin Combinations (Scripts) Publisher's description

### For small number of coins, and a listing of all combinations, a better program to use is John's program "Partitions of an Integer" (see discussion below)

For small number of coins, and a listing of all combinations, a better program to use is John's program "Partitions of an Integer" (see discussion below)

If you have a huge set of coins, and just want the number of combinations; this might be a good program as it doesn't list the combinations and just gives the final number.

EXAMPLES
Number of ways to make change for a dollar
coins=[1 5 10 25 50 100];
amount=100;
CoinComb(coins, amount)
293

Number of ways to make change for \$10 and \$20 using only
quarters, \$1 bill, and \$2 bill
coins=[25 100 200];
amount=[1000 2000];
CoinComb(coins, amount)
[36 121]

Number of ways to sum to 20 using a collection of ten 1's, twenty 2's, and ten 3's:
coins=[ones(1,10) 2*ones(1,20) 3*ones(1,10)];
amount=20;
CoinComb(coins,amount)
46,647,269,031

#### System Requirements:

MATLAB 7.9 (2009b)
Program Release Status: New Release
Program Install Support: Install and Uninstall

#### Coin Combinations (Scripts) Tags:

Click on a tag to find related softwares

## Most Popular

ASK, OOK, FSK, BPSK, QPSK, 8PSK modulation 1.1
ASK, OOK, FSK, BPSK, QPSK, 8PSK modulation contain several functions for digital modulation simulation
Simulink Communication Labs 1.1
Simulink Communication Labs allows you to learn communication systems in greater depth.
M-QAM modulation and demodulation 1.1
M-QAM modulation and demodulation is the QAM modulation and demodulation tech.
LZW Compression/Decompression 1.1
LZW Compression/Decompression - Updated LZW compressor and decompressor with reasonable performance
InSPIRE utility to plot a 2D displacement field (Scripts) 1.0
This program plots the deformation field (displace vectors) contained in vector.txt.