Matlab does not recognize "plotfunc2d" or "plotfunc3d"

2 次查看(过去 30 天)
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 个)

Community Treasure Hunt

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

Start Hunting!

Translated by