POWERMOD

The function calculates A = powermod(base,exponent,modulus)
732 descargas
Actualizado 8 oct 2012

Ver licencia

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.

Citar como

Cavin Dsouza (2024). POWERMOD (https://www.mathworks.com/matlabcentral/fileexchange/38516-powermod), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2008a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Versión Publicado Notas de la versión
1.0.0.0