Publish equation in latex

2 visualizzazioni (ultimi 30 giorni)
John Miller
John Miller il 5 Giu 2020
Modificato: Mehmed Saad il 17 Giu 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

Risposta accettata

madhan ravi
madhan ravi il 5 Giu 2020
Modificato: madhan ravi il 16 Giu 2020
Use Livescript
y = [x^2; 4*x^2]
  1 Commento
Mehmed Saad
Mehmed Saad il 16 Giu 2020
Modificato: Mehmed Saad il 17 Giu 2020
have your tried latex(y)
Edit: Please Run the code before printing

Accedi per commentare.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by