%% Plot Symbolic Function
% Plot the symbolic function f(x) = \cos(x) over the default range [-5 5].

syms f(x)
f(x) = cos(x);
fplot(f)

% Copyright 2018 The MathWorks, Inc.