Adding 2 big interger, e.g 100 digits
Version 1.0.0.0 (2.18 KB) by
Trung Duong
% Add 2 big INTERGER a b, e.g with 100 digits
% algorithms will add each group of nbit 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 (2026). 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
Created with
R14
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- Image Processing and Computer Vision > Image Processing Toolbox > Image Segmentation and Analysis > Region and Image Properties >
Find more on Region and Image Properties in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
