How to Use plot::Inequality From Symbolic Math Toolbox

조회 수: 2 (최근 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 CenterFile Exchange에서 2-D Function Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by