How can I desplay subscripts.

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

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.
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)

Categories

Asked:

on 28 Jul 2015

Commented:

on 25 Aug 2017

Community Treasure Hunt

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

Start Hunting!