String LaTex must have valid interpreter syntax
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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}$
0 commentaires
Réponses (1)
Walter Roberson
le 23 Juil 2016
Are you sure that you specifically set the Interpreter property to 'latex' ? The default interpreter is 'tex'
2 commentaires
Walter Roberson
le 24 Juil 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.
Voir également
Catégories
En savoir plus sur Characters and Strings dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!