How do I enter a newline in livescript equation?
6 views (last 30 days)
Show older comments
I'm trying to enter an equation in a livescript. It should look like this:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/169756/image.png)
I started the equation like this:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/169757/image.png)
. But I'm stuck:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/169758/image.png)
And it's easy to create parenthesis, but how do you write the y_2 under the y_1? I don't see any options in the "symbols" and "structures" menus at the top of the window.
5 Comments
Walter Roberson
on 18 Nov 2017
You will probably find postings such as https://www.quora.com/How-do-I-write-vectors-and-matrices-in-Latex but be careful: bmatrix and pmatrix are from a package not included with MATLAB
Answers (1)
Achyutha Hosahalli
on 22 Nov 2017
Hi RobNik !
You can choose Power, Fraction and Index from the Structures in Equation menu. Below is a snapshot for your reference.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/179511/image.png)
Hope this helps you !
1 Comment
See Also
Categories
Find more on Logical in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!