Problem with latex interpreter

Hi I want to assing this string to my ylable data but matlab cannot interpret it properly str=‘$\frac{\tilde{y}(t)}{\sigma_{\eta(t)}}$’ ylable(str,’Interpreter’,’latex’)
Does anyone know what’s the problem? Thanks

回答 (1 件)

madhan ravi
madhan ravi 2020 年 7 月 22 日

0 投票

str='$\frac{\tilde{y}(t)}{\sigma_{\eta(t)}}$';
ylabel(str,'Interpreter','latex')

2 件のコメント

Amin Akhshi
Amin Akhshi 2020 年 7 月 22 日
I’m using exactly the same syntax as you just mentioned, but unfortunately it is still the same
madhan ravi
madhan ravi 2020 年 7 月 22 日
編集済み: madhan ravi 2020 年 7 月 22 日
No, you didn’t. Copy paste what you’re trying.

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeLine Plots についてさらに検索

質問済み:

2020 年 7 月 22 日

編集済み:

2020 年 7 月 22 日

Community Treasure Hunt

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

Start Hunting!

Translated by