필터 지우기
필터 지우기

Matlab does not recognize "plotfunc2d" or "plotfunc3d"

조회 수: 2 (최근 30일)
Matus Cvengros
Matus Cvengros 2013년 4월 13일
Recently I was browsing the documentation since I needed to do some more complex plots and I discovered the functions "plotfunc2d" and "plotfunc3d". They seem like a really powerful tool, however I simply can't get them to work.
I was trying to plot the examples provided by the documentation, however Matlab simply does not know those functions. Example I tried to print is
plotfunc2d(sin(x), x = 0..2*PI),with error
|
Error: The expression to the left of the equals sign is not a valid target for an assignment.
If I try to plot without the x interval, function is simply undefined.

채택된 답변

Walter Roberson
Walter Roberson 2013년 4월 13일
Those are part of the MuPAD language inside the symbolic toolbox. For example http://www.mathworks.com/help/symbolic/mupad_ref/plotfunc2d.html
You can open a MuPAD notebook and do the plotting inside that.
Most MuPAD routines can be reached from MATLAB through feval(), but I have no information about what would happen to graphics invoked in this manner.
  댓글 수: 1
Matus Cvengros
Matus Cvengros 2013년 4월 13일
Thanks! I didn't even know that MuPAD exists and I am using Matlab for about 2 years right now.
I am facing another problem right now. After using function "plotfunc3d" in MuPAD, both Matlab and MuPAD crashes. Using "plotfunc2d" is fine. Oh, I am using Ubuntu 12.10.
However, thanks anyway!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 3-D Function Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by