Method of Sainte-Laguë

The Sainte-Laguë method allocates seats from votes as proportionally as possible.

232 Downloads

Updated 28 Sep 2010

View License

Given numbers of votes for a list of parties and a fixed total number of seats, the method of Sainte-Laguë allocates seats to each party. The article at http://en.wikipedia.org/wiki/Sainte-Lagu%C3%AB_method describes details of the method. The Matlab function sainte_lague can also return the results of the modified Sainte-Laguë method.

Version 20100928 fixes a bug with the modified Sainte-Laguë method, and adds features to facilitate the modeling of different vote scenarios.

Cite As

Stephan Buchert (2023). Method of Sainte-Laguë (https://www.mathworks.com/matlabcentral/fileexchange/28852-method-of-sainte-lague), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010a
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!
Version Published Release Notes
1.1.0.0

Version 20100928 fixes a bug with the modified Sainte-Laguë method, and adds features to facilitate the modeling of different vote scenarios.

1.0.0.0