How to plot Inequalities using (plot::Inequality)

2019-08-05 11:35发布

问题:

I want to plot some Inequalities with matlab. I am using this code:

figure;
plot(plot::Inequality(x^2 + y^2 < 1, x = -1.5..1.5, y = -1.5..1.5));

But i am getting this error:

plot(plot::Inequality(x^2 + y^2 < 1, x = -1.5..1.5, y = -1.5..1.5))
      |
Error: Unexpected MATLAB operator.

I have read this manual. and something more:

>> version
ans =
8.0.0.783 (R2012b)

回答1:

plot::Inequality is part of Matlab's symbolic toolbox and is invoked from within MuPAD.
You cannot use it like a regular command.