How to put subscripts in this example?

7 views (last 30 days)
Austin Hogan
Austin Hogan on 2 Mar 2023
Answered: Walter Roberson on 2 Mar 2023
SymbolicMatrix = [(Q_15 + Q_12 + kV_1) 0 -Q_31 0 0;
Q_12 -(Q_25 + Q_24 + Q_23 + kV_2) 0 0 0;
0 -Q_23 (Q_31 + Q_34 + kV_3) 0 0;
0 Q_21 Q_34 -(Q_40 + kV_4) -Q_54;
Q_15 Q_25 0 0 -(Q_50 + Q_54 + kV_5)];
Im trying to get the subscripts to the command window, whilst not using live editor. Is there a format error I'm making or is this feature only available in the live editor?

Answers (1)

Walter Roberson
Walter Roberson on 2 Mar 2023
That feature is only available in the Live Editor.

Categories

Find more on Entering Commands in Help Center and File Exchange

Tags

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!