Why are symbolic expressions not exactly symbolic?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Aravind Varma Dantuluri
am 19 Jul. 2023
Kommentiert: Aravind Varma Dantuluri
am 22 Jul. 2023
I have Symbolic toolobx in my 2023A MATLAB release. But the display shows a MATLAB expression rather than symbolic expression. For example,
syms x
taylor(exp(x))
gives the display in command window as: x^5/120 + x^4/24 + x^3/6 + x^2/2 + x + 1.

I want to see the above display in command window. Are there any settings/preferences I should change?
0 Kommentare
Akzeptierte Antwort
Steven Lord
am 19 Jul. 2023
Run that command in the Live Editor. [Note that I can get the same display running the code in MATLAB Answers: the functionality to display symbolic expressions in the MATLAB sessions MATLAB Answers uses to run code uses the same technology.]
syms x
taylor(exp(x))
The Command Window displays text, not typeset math.
Weitere Antworten (1)
Siehe auch
Kategorien
Mehr zu Symbolic Math Toolbox finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!