I would like to generate the following array or matrix. The symbolic variable Z needs to have a subscript of 1。And
can be used in subsequent symbolic operations. or ![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1668796/image.png)
Currently, I can generate the following effects in Live Scripts.
There are three problem::
1. I cannot obtain
or
on the left side of the equal sign; I can only get Z on the left side of the equal sign. 2. The output results copied as LaTeX code do not include Z; they only include the vector itself.I would like the LaTeX code in the output to include
or ![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1668801/image.png)
3、How to convert round parentheses of a vector to square brackets
Screenshots of Live Scripts:
I copied LaTeX code like the image below.
latex code: