i am getting error when i try to use powermod function.the error says Undefined function or method 'powermod' for input arguments of type 'double'.

%trying to find modular exponentiation of integer numbers'.
c=powermod(3,5,7)
% the error i am getting is ??? Undefined function or method 'powermod' for input arguments of type 'double'.

回答 (1 件)

Walter Roberson
Walter Roberson 2022 年 4 月 19 日
That function needs the Symbolic Toolbox, R2018a or later. It was not present in your R2007b release.

カテゴリ

製品

リリース

R2007b

質問済み:

2022 年 4 月 19 日

回答済み:

2022 年 4 月 19 日

Community Treasure Hunt

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

Start Hunting!

Translated by