%% Real-Valued Common Logarithm
% Create a vector of numbers in the interval [0.5 5].

X = (0.5:0.5:5)';

%
% Calculate the common logarithm of X.

Y = log10(X)

% Copyright 2015 The MathWorks, Inc.