www.gusucode.com > matlab 案例源码 matlab代码程序 > matlab/GraphHyperbolicTangentFunctionExample.m
%% Graph Hyperbolic Tangent Function % Graph the hyperbolic tangent function over the domain $-5\le x \le 5$. %% % Copyright 2015 The MathWorks, Inc. x = -5:0.01:5; plot(x,tanh(x)), grid on