1

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)
Mohsen
  • 65
  • 1
  • 6
  • 1
    Related question to plotting inequalites: [How to plot inequalities](http://stackoverflow.com/questions/11345838/how-to-plot-inequalities) – Eitan T Feb 25 '13 at 15:25

1 Answers1

2

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

Eitan T
  • 32,660
  • 14
  • 72
  • 109
Shai
  • 111,146
  • 38
  • 238
  • 371