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

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