How can I desplay subscripts.

5 vues (au cours des 30 derniers jours)
Theodoros Vassilakis
Theodoros Vassilakis le 28 Juil 2015
Commenté : Andreas Sorgatz le 25 Août 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 commentaires
Walter Roberson
Walter Roberson le 28 Juil 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 le 25 Août 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.

Connectez-vous pour commenter.

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by