Adding 2 big interger, e.g 100 digits
% Add 2 big INTERGER a b, e.g with 100 digits
% algorithms will add each group of nbit digits
% of a and b. nbit(default)=6
% S = add(a,b), return S = a+b
%-----------------------
% Example
% na = 3+ round(10*rand);
% nb =5+ round(10*rand);
% a = round(10^na*rand)
% b = round(10^nb*rand)
% s = add(a,b)
%-----------------------
% trungd@okstate.edu
% 9-27-2011
%-----------------------
Cite As
Trung Duong (2024). Adding 2 big interger, e.g 100 digits (https://www.mathworks.com/matlabcentral/fileexchange/33060-adding-2-big-interger-e-g-100-digits), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Image Processing and Computer Vision > Image Processing Toolbox > Image Segmentation and Analysis > Region and Image Properties >
Tags
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 |