Chinese reminder theorem

just for fun
242 download
Aggiornato 2 dic 2011

Visualizza la licenza

Example:
Counting the number of nuts as shown in the photo:
count 3 by 3, reminder: 2
count 5 by 5, reminder: 3
count 7 by 7, reminder: 2
then the requested total number of nuts X can be calculated as follow command:
x = sunzTheorem([2, 3, 2], [3, 5, 7]);
The motivation and key ideas of the program is described in "program guild.pdf",
Note:
just throw out the designing ideas in a huristic way not for vigorous proof purpose.

Cita come

Su Dongcai (2026). Chinese reminder theorem (https://it.mathworks.com/matlabcentral/fileexchange/34013-chinese-reminder-theorem), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R14
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Versione Pubblicato Note della release
1.1.0.0

supply the "program_guild.pdf" document to explain the motivation and key ideas of the program.

1.0.0.0