MATLAB: Using fimplicit function to plot

fimplicitplot

I'm trying to make a plot using the fimplicit function but the figure is empty.
zf(1) = figure(1);
za(1) = axes;
c = -4:2:4;
fimplicit(@(x,y) y.^2 - x.^2- c);

Best Answer

For a single graph, c must be a scalar. If you want to plot the graph for all values in c, you can use for-loop or arrayfun() (kind of implicit for-loop)
zf(1) = figure(1);
za(1) = axes;
hold(za(1))
C = -4:2:4;
arrayfun(@(c) fimplicit(@(x,y) y.^2 - x.^2 - c), C);