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

X = (0.5:0.5:5)';

%
% Calculate the natural logarithm of the vector, X.

Y = log(X)

% Copyright 2015 The MathWorks, Inc.