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
2022-4-19
0 个投票
That function needs the Symbolic Toolbox, R2018a or later. It was not present in your R2007b release.
类别
在 帮助中心 和 File Exchange 中查找有关 Number Theory 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!