String LaTex must have valid interpreter syntax

5 次查看(过去 30 天)
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}$

回答(1 个)

Walter Roberson
Walter Roberson 2016-7-23
Are you sure that you specifically set the Interpreter property to 'latex' ? The default interpreter is 'tex'
  2 个评论
Walter Roberson
Walter Roberson 2016-7-24
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.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Characters and Strings 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by