String LaTex must have valid interpreter syntax

6 Ansichten (letzte 30 Tage)
Éder Peixoto Marques
Éder Peixoto Marques am 23 Jul. 2016
Kommentiert: Walter Roberson am 24 Jul. 2016
String must have valid interpreter syntax:
$ + \frac{4e-09+2.2e-08i}{s+5000} + \frac{4e-09-2.2e-08i}{s+5000} - \frac{8e-09}{s} + \frac{0.0002}{s}$

Antworten (1)

Walter Roberson
Walter Roberson am 23 Jul. 2016
Are you sure that you specifically set the Interpreter property to 'latex' ? The default interpreter is 'tex'
  2 Kommentare
Éder Peixoto Marques
Éder Peixoto Marques am 23 Jul. 2016
Yes.
options.Interpreter = 'Latex';
Walter Roberson
Walter Roberson am 24 Jul. 2016
Please show more of your code. For example,
h = text(2,2,'$ + \frac{4e-09+2.2e-08i}{s+5000} + \frac{4e-09-2.2e-08i}{s+5000} - \frac{8e-09}{s} + \frac{0.0002}{s}$', 'interpreter', 'latex')
worked fine for me.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Characters and Strings 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