Clear Filters
Clear Filters

Matlab does not recognize "plotfunc2d" or "plotfunc3d"

2 views (last 30 days)
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.

Accepted Answer

Walter Roberson
Walter Roberson on 13 Apr 2013
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 Comment
Matus Cvengros
Matus Cvengros on 13 Apr 2013
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!

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!