How to Use plot::Inequality From Symbolic Math Toolbox

5 ビュー (過去 30 日間)
Tom
Tom 2011 年 8 月 26 日
I have the Symbolic Math Toolbox installed in my copy of Matlab R2011a, and I found http://www.mathworks.com/help/toolbox/mupad/plot/PRIMITIV_Inequality.html#static.
However, the example code here does not work. Matlab complains about the "::" notation, and also the ".." notation being used. Does anyone know why?

採用された回答

Walter Roberson
Walter Roberson 2011 年 8 月 26 日
That command syntax is appropriate when you are inside a mupad notebook. To call the function from MATLAB, you need to use
evalin(symengine, 'plot(plot::Inequality(x^2 + y^2 < 1,x = -1.5..1.5, y = -1.5..1.5))')
  1 件のコメント
Tom
Tom 2011 年 8 月 26 日
Great, thanks. Still not able to see the plot for some reason.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File Exchange2-D Function Plots についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by