%% Hyperbolic Tangent of Vector
% Create a vector and calculate the hyperbolic tangent of each value.

X = [0 pi 2*pi 3*pi];
Y = tanh(X)

% Copyright 2018 The MathWorks, Inc.