MATLAB Programming Fundamentals - MathWorks

(やまだぃちぅ) #1
The description specifies alternative text for the equation and is saved as an alt
attribute in the HTML document. It is used to provide additional information for the
equation if, for example, a user is using a screen reader.

(^4) Press OK to insert the equation into your live script.
LaTeX expressions describe a wide range of equations. This table shows several examples
of LaTeX expressions and their appearance when inserted into a live script.
LaTeX Expression Equation in Live Script
a^2 + b^2 = c^2 a (^2) +b^2 =c 2
\int{0}^{2} x^2\sin(x) dx
∫ 0
2
x^2 sin(x)dx
\sin(x) = \sum
{n=0}^{\infty}{\frac{(-1)^n
x^{2n+1}}{(2n+1)!}} sin(x) = ∑
n= 0
∞ (−1)nx 2 n+1
(2n+1)!
{a,b,c} \neq {a,b,c} a,b,c≠ a,b,c
x^{2} \geq 0\qquad \text{for all}x\in
\mathbf{R}
x^2 ≥0 for all x∈R
\matrix{a & b \cr c & d} a b
c d
Supported LaTeX Commands
MATLAB supports most standard LaTeX math mode commands. These tables show a list
of supported LaTeX commands.
Greek/Hebrew Letters
Symbol LaTeX Command Symbol LaTeX Command Symbol LaTeX Command
α alpha ν nu ξ xi
β beta ω omega ζ zeta
χ chi о omicron ɛ varepsilon
δ delta φ phi φ varphi
ε epsilon π pi π varpi
η eta ψ psi ρ varrho
19 Live Scripts and Functions

Free download pdf