%% Plot 3-D Implicit Function
% Plot the hyperboloid  x^2 + y^2 - z^2 = 0 over the default interval of [-5, 5] for  x, y, and z.

f = @(x,y,z) x.^2 + y.^2 - z.^2;
fimplicit3(f)

% Copyright 2012 The MathWorks, Inc.