Be the first to rate this file! 2 Downloads (last 30 days) File Size: 2.18 KB File ID: #33060
image thumbnail

Adding 2 big interger, e.g 100 digits

by Trung Duong

 

29 Sep 2011

% Add 2 big INTERGER a b, e.g with 100 digits % algorithms will add each group of nbit digits

| Watch this File

File Information
Description

% 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
%-----------------------

MATLAB release MATLAB 7 (R14)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
add Trung Duong 29 Sep 2011 09:50:11
big integer Trung Duong 29 Sep 2011 09:50:11
big number Trung Duong 29 Sep 2011 09:50:11

Contact us at files@mathworks.com