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'.
Show older comments
%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'.
Answers (1)
Walter Roberson
on 19 Apr 2022
0 votes
That function needs the Symbolic Toolbox, R2018a or later. It was not present in your R2007b release.
Categories
Find more on Number Theory in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!