Help me about the error when I use solve command ?

2 views (last 30 days)
I use matlab R2013a,
the first pic is my command windows, the second pic that I take it from help. Why does it difference between them ? How do I do so that it same as the example of help. help me. thank you very much.

Accepted Answer

Walter Roberson
Walter Roberson on 6 Jan 2014
You are looking on the wrong documentation page. You are looking at when you should be looking at
The only difference between the answer you are being presented and the answer in the example is in the visual presentation. The documentation page you are looking at is the page for running the Symbolic Toolbox within a MuPAD notebook: MuPAD notebooks know how to visually represent answers that the solve() you are actually using has to resort to text to display.
Walter Roberson
Walter Roberson on 6 Jan 2014
Give the command
and use the interface that shows up there.
Note: the MuPAD language does not use "sym" or "syms" and uses := for assignment rather than = by itself. MuPAD syntax is sometimes similar to MATLAB syntax.
MuPAD underlies MATLAB's symbolic facilities, but MATLAB translates syntax and calls when passing in to MuPAD and when getting results out.

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!

Translated by