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

    %% Plot Cosecant Function
% Plot the cosecant function on the interval from $-4\pi$ to $4\pi$.
syms x
fplot(csc(x), [-4*pi, 4*pi])
grid on