Cannot get mod to return correct value
Mostra commenti meno recenti
I am trying to solve:
3^233 mod(353).
In Matlab, mod(3^233,353) = 92
But the correct answer is 248.
Is the number to large? Is this a configuration issue? Is there not enough digits being kept for the calculation? Do I need to do this another way?
Thank you.
Risposta accettata
Più risposte (1)
jonas
il 16 Lug 2020
0 voti
You could try this FEX TB by John D'Errico.
1 Commento
Eugene Browder
il 16 Lug 2020
Categorie
Scopri di più su Logical in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!