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
179 Downloads
Updated 29 Sep 2011

View License

% 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 Linux
Version Published Release Notes
1.0.0.0