www.gusucode.com > symbolic 源码程序 matlab案例代码 > symbolic/TanhPlotTheHyperbolicTangentFunctionExample.m

    %% Plot Hyperbolic Tangent Function
% Plot the hyperbolic tangent function on the interval from $-\pi$ to
% $\pi$.
syms x
fplot(tanh(x), [-pi, pi])
grid on