Check out example codes for "subscripts matlab". It will help you in understanding the concepts better.

Code Example 1

#to create subscript, eg. x0
x_0

Learn ReactJs, React Native from akashmittal.com