POWERMOD
Version 1.0.0.0 (1,11 KB) von
Cavin Dsouza
The function calculates A = powermod(base,exponent,modulus)
rem and mod are built -in functions in MATLAB that help solve equations of the type A=mod(base^exponent,modulus) OR
A=rem(base^exponent,modulus)
But then range of values of A can be extended bu using the proposed powermod function.
Powermod function uses the repeated multiplication technique to obtain the value of A.
Zitieren als
Cavin Dsouza (2026). POWERMOD (https://de.mathworks.com/matlabcentral/fileexchange/38516-powermod), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Erstellt mit
R2008a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- Mathematics and Optimization > Symbolic Math Toolbox > Symbolic Computations in MATLAB > Operators and Elementary Operations >
Mehr zu Operators and Elementary Operations finden Sie in Help Center und MATLAB Answers
Tags
Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
| Version | Veröffentlicht | Versionshinweise | |
|---|---|---|---|
| 1.0.0.0 |
