%% Base 2 Logarithm Values

X = [0 1 2 10 Inf NaN];
Y = log2(X)

% Copyright 2012 The MathWorks, Inc.