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

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