MATLAB Answers


Multiple Character MuPad Subscripts?

Asked by Adam
on 11 Jan 2013

I need to format an equation in MuPad with a subscript greater than one character, and I need to do it very often, so it is impractical to use the Symbol::subScript command over and over. The help doc suggests that there are ways to do this using the ^,_,$,{, and } keys, but it doesn't give the syntax for them. I know that the underscore character works for simply one character subscripts, but I need to be able to typeset for example T_hot - T_cold, where the entire words hot and cold are subscripted. Thanks very much in advance for any help


1 Answer

Answer by bym
on 12 Jan 2013

try (in MuPad notebook)

t[hot] -t[cold]


Join the 15-year community celebration.

Play games and win prizes!

Learn more
Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!