String LaTex must have valid interpreter syntax

조회 수: 5 (최근 30일)
Éder Peixoto Marques
Éder Peixoto Marques 2016년 7월 23일
댓글: Walter Roberson 2016년 7월 24일
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
Éder Peixoto Marques
Éder Peixoto Marques 2016년 7월 23일
Yes.
options.Interpreter = 'Latex';
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