MATLAB Programming Fundamentals - MathWorks

(やまだぃちぅ) #1
NoteAlthough the \name syntax closely resembles LaTeX command syntax, entering
full LaTeX expressions is not supported when inserting equations interactively.


  • To insert subscripts, superscripts, and fractions, use the symbols ‘_’, ‘^’ or ‘/’. For
    example:

    • Type x_2 to insert x 2 into the equation.

    • Type x^2 to insert x^2 into the equation.


    • Type x/2 to insert
      x
      2
      into the equation.





  • To insert a new column into a matrix, type a ‘,’ at the end of the last cell in a matrix
    row. To insert a new row, type a semicolon ‘;’ at the end of the last cell in a matrix
    column.

  • To insert the common symbols listed in this table, type a combination of other symbols.


Keyboard
Input

Symbol Keyboard
Input

Symbol Keyboard
Input

Symbol

| | ∥ => ⇒ != ≠


|= ⊧ <--> !< ≮


|– ⊢ <-> !> ≯


–| ⊣ <= ≤ !<= ≰


19 Live Scripts and Functions

Free download pdf