Matlab does not recognize "plotfunc2d" or "plotfunc3d"

7 ビュー (過去 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 Center および File Exchange3-D Function Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by