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

Answers (1)

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

2 Comments

I’m using exactly the same syntax as you just mentioned, but unfortunately it is still the same
madhan ravi
madhan ravi on 22 Jul 2020
Edited: madhan ravi on 22 Jul 2020
No, you didn’t. Copy paste what you’re trying.

Sign in to comment.

Categories

Asked:

on 22 Jul 2020

Edited:

on 22 Jul 2020

Community Treasure Hunt

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

Start Hunting!