How can I desplay subscripts.

5 visualizzazioni (ultimi 30 giorni)
Theodoros Vassilakis
Theodoros Vassilakis il 28 Lug 2015
Commentato: Andreas Sorgatz il 25 Ago 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 Commenti
Walter Roberson
Walter Roberson il 28 Lug 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 il 25 Ago 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.

Accedi per commentare.

Risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by