How can I desplay subscripts.

4 views (last 30 days)
Theodoros Vassilakis
Theodoros Vassilakis on 28 Jul 2015
Commented: Andreas Sorgatz on 25 Aug 2017
I do not have a special way of displaying the subscripts. I write p1,typing first the p and after 1. My question is how to display the subscripts. Is 1 in p1 a subscript? I think no.
  2 Comments
Walter Roberson
Walter Roberson on 28 Jul 2015
Smaller letters is a matter of display, not a matter of computation. In order for us to tell you how to achieve the display you desire, you need to specify how you are doing the displaying.
Andreas Sorgatz
Andreas Sorgatz on 25 Aug 2017
Execute
syms p1 pn p_n;
p1+p_n+pn
in MATLAB Live Editor in R2016a or later. There the output should meet your expectation.

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!