How can I desplay subscripts.

조회 수: 5 (최근 30일)
Theodoros Vassilakis
Theodoros Vassilakis 2015년 7월 28일
댓글: Andreas Sorgatz 2017년 8월 25일
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
Walter Roberson
Walter Roberson 2015년 7월 28일
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 2017년 8월 25일
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.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Assumptions에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by