% for testing purposes it is convenient to generate
% large random integer values; without explaining 
% exactly what is going on, you can generate such
% numbers like so:
n = randi([2^50 2^53 - 1], 1);

% the easiest way to see all of the digits of n is to do the following:
num2str(n)

% to get the last two digits, divide by 100 and find the remainder
last2 = rem(n, 100)

% the second last digit of n is the first digit of last2
% to get the first digit of last2 divide last2 by 10 and round down
secondLastDigit = floor(last2 / 10)

