About Site Map Submit Contact Us Log in | Create an account
Create an account Log In
Average Rating
User Rating:
Visitors Rating:
My rating:

Write review
See full specifications

scripts default iconelection (Scripts) Publisher's description

Voting theory is a branch of mathematics with lots of interesting paradoxes

Voting theory is a branch of mathematics with lots of interesting paradoxes. For example, the candidate with the most primary votes might also be at the bottom of the most voters preferences. It is also possible for a candidate with no primary votes to be more preferred pairwise than any other candidate. Pairwise majority preferences can also be cyclic.

Many different election systems have been proposed over the years, some of them nontrivial to compute. This function implements over 20 different election methods.

Example (vector result implies a tie):

[winner,method]=election([1,2,3; 1,2,3; 2,3,1; 3,2,1],'all');
fmt = '%-20s%sn';
for i=1:numel(winner)

Method: Winner(s):
dictator 1
hat 1
runoff [1 2 3]
exhaustive 1
pref 1
contingent [1 2 3]
Coombs 2
Borda 2
Nanson [1 2]
Baldwin [1 2]
Bucklin 2
Smith [1 2 3]
Schwartz [1 2]
Landau [1 2 3]
Copeland 2
minimaxwinvote [1 2]
minimaxmargin [1 2]
minimaxvote [1 2]
Kemeny-Young [1 2]
rankedpairs [1 2]
Schulze [1 2]

For more information, see the help file or the article at http://www.math4realworld.com.

System Requirements:

MATLAB 7.10 (2010a)
Program Release Status: Major Update
Program Install Support: Install and Uninstall

election (Scripts) Tags:

Click on a tag to find related softwares

Is election (Scripts) your software?

Manage your software

Most Popular

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