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.
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
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!