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

Réponses (1)

madhan ravi
madhan ravi le 22 Juil 2020

0 votes

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

2 commentaires

Amin Akhshi
Amin Akhshi le 22 Juil 2020
I’m using exactly the same syntax as you just mentioned, but unfortunately it is still the same
madhan ravi
madhan ravi le 22 Juil 2020
Modifié(e) : madhan ravi le 22 Juil 2020
No, you didn’t. Copy paste what you’re trying.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Mathematics dans Centre d'aide et File Exchange

Modifié(e) :

le 22 Juil 2020

Community Treasure Hunt

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

Start Hunting!

Translated by