How do I enter a newline in livescript equation?
Show older comments
I'm trying to enter an equation in a livescript. It should look like this:

I started the equation like this:

. But I'm stuck:

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 17 Nov 2017
Is this for Latex purposes or for computation?
RobNik
on 17 Nov 2017
Walter Roberson
on 17 Nov 2017
You should probably use LaTeX Equation for anything that fancy.
RobNik
on 17 Nov 2017
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
0 votes
Hi RobNik !
You can choose Power, Fraction and Index from the Structures in Equation menu. Below is a snapshot for your reference.

Hope this helps you !
1 Comment
Walter Roberson
on 22 Nov 2017
Fraction is not the same as column vector :(
Categories
Find more on Symbolic Math Toolbox 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!