POWERMOD

バージョン 1.0.0.0 (1.11 KB) 作成者: Cavin Dsouza
The function calculates A = powermod(base,exponent,modulus)
ダウンロード: 732
更新 2012/10/8

ライセンスの表示

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.

引用

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

MATLAB リリースの互換性
作成: R2008a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersOperators and Elementary Operations についてさらに検索

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0.0