Publish equation in latex

3 Ansichten (letzte 30 Tage)
John Miller
John Miller am 5 Jun. 2020
Bearbeitet: Mehmed Saad am 17 Jun. 2020
I am working with symbolic expressions and I am calculating a vector which I want to publish formated with matlab.
So my question can be summarized to: How do I print y = (x^2,4*x^2) as
without typing it manually in the system

Akzeptierte Antwort

madhan ravi
madhan ravi am 5 Jun. 2020
Bearbeitet: madhan ravi am 16 Jun. 2020
Use Livescript
y = [x^2; 4*x^2]
  1 Kommentar
Mehmed Saad
Mehmed Saad am 16 Jun. 2020
Bearbeitet: Mehmed Saad am 17 Jun. 2020
have your tried latex(y)
Edit: Please Run the code before printing

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

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!

Translated by