MATLAB Answers

How do I enter a newline in livescript equation?

3 views (last 30 days)
RobNik
RobNik on 17 Nov 2017
Commented: Walter Roberson on 22 Nov 2017
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

Show 2 older comments
Walter Roberson
Walter Roberson on 17 Nov 2017
You should probably use LaTeX Equation for anything that fancy.
RobNik
RobNik on 17 Nov 2017
Okay, I don't know how to do it with LaTeX either, but I guess that's a different forum.
Walter Roberson
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

Sign in to comment.

Answers (1)

Achyutha Hosahalli
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.
Hope this helps you !

  1 Comment

Walter Roberson
Walter Roberson on 22 Nov 2017
Fraction is not the same as column vector :(

Sign in to comment.

Products


Translated by