How to add vector space to a live script text ?

8 ビュー (過去 30 日間)
Nuri Efe TATLI
Nuri Efe TATLI 2023 年 1 月 13 日
回答済み: Aditya 2023 年 1 月 23 日
Hello everyone.
I like using live editor to explain my derivations and give various information with the code.
I am doing some matrix operations and we have some vectors to we deal with but I could not figure our how to add vectors in text form. So far what I could do was :
Since this not a very accurate notation, I want to remove the brackets inside and just have the {a;b;c}.
How may I achieve this ?

採用された回答

Aditya
Aditya 2023 年 1 月 23 日
Hi Nuri,
I understand that you want to insert a marix/vector with curly braces in MATLAB live editor text. The simplest way would be to use LaTeX equation. The following snippet creates the vector as requested in the example
\left\lbrace \begin{array}{c}
a \\
b \\
c
\end{array}\right\rbrace$
You can try any of the following pair instead of lbrace and rbrace:
  • \lbrack - \rbrack
  • \lbrace - \rbrace
  • \langle - \rangle
  • \lvert - \lvert
  • \lVert - \lVert

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeLaTeX についてさらに検索

製品


リリース

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by