big x^y modulo function
Version 1.0.0.0 (311 Bytes) by
Michael Neve
provide the solution when the normal mod function can't because the input is to big
2K Downloads
Updated
16 Oct 2001
No License
In some fields as cryptology (RAS-cryption), there is a need of doing x^y mod m where x, y and n are huge. The build-in maltab function can't achieve the result because it first calculate x^y and found it is equals to inf. The hereunder function provides a performent solution to this problem and gives the right answer...
Cite As
Michael Neve (2025). big x^y modulo function (https://se.mathworks.com/matlabcentral/fileexchange/932-big-x-y-modulo-function), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R12
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- Image Processing and Computer Vision > Image Processing Toolbox > Get Started with Image Processing Toolbox >
Find more on Get Started with Image Processing Toolbox in Help Center and MATLAB Answers
Tags
Acknowledgements
Inspired: big modulo function
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
