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'.
Mostrar comentarios más antiguos
%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'.
Respuestas (1)
Walter Roberson
el 19 de Abr. de 2022
0 votos
That function needs the Symbolic Toolbox, R2018a or later. It was not present in your R2007b release.
Categorías
Más información sobre Number Theory en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!