latex() output for upper-case one-char variables

1 view (last 30 days)
When I run this code:
syms E I
W=E*I;
latex(W)
the output surprisingly is:
ans =
E_{V}\mathrm{ar}\, I_{V}\mathrm{ar}if true
what is wrong?
It works properly for
syms e i
W=e*i;
latex(W)
and
syms EE II
W=EE*II;
latex(W)
any idea why?

Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!