You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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 (2026). big x^y modulo function (https://www.mathworks.com/matlabcentral/fileexchange/932-big-x-y-modulo-function), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired: big modulo function
General Information
- Version 1.0.0.0 (311 Bytes)
-
No License
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
