String LaTex must have valid interpreter syntax

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}$

Respuestas (1)

Walter Roberson
Walter Roberson el 23 de Jul. de 2016

0 votos

Are you sure that you specifically set the Interpreter property to 'latex' ? The default interpreter is 'tex'

2 comentarios

Yes.
options.Interpreter = 'Latex';
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.

Iniciar sesión para comentar.

Categorías

Más información sobre Characters and Strings en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 23 de Jul. de 2016

Comentada:

el 24 de Jul. de 2016

Community Treasure Hunt

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

Start Hunting!

Translated by