%% Plot Contours of Symbolic Function
% Plot the contours of f(x,y) = \sin(x) + \cos(y) over the default range of -5 < x < 5 and -5 < y < 5.

syms f(x,y)
f(x,y) = sin(x) + cos(y);
fcontour(f)

% Copyright 2012 The MathWorks, Inc.