How to write a character sequence for parallel symbol?

61 ビュー (過去 30 日間)
Wiqas Ahmad
Wiqas Ahmad 2021 年 7 月 16 日
コメント済み: Muhammad 2022 年 7 月 15 日
We use \perp to insert a perpendicular symbol "⊥" but I haven't found a charater sequence for the symbol parallel. How can we write its charater sequence?

採用された回答

Akshit Bagde
Akshit Bagde 2021 年 7 月 16 日
編集済み: Akshit Bagde 2021 年 7 月 16 日
\parallel is not available in MATLAB - here
However, You can use either
'\mid\mid' or '||'
  1 件のコメント
Muhammad
Muhammad 2022 年 7 月 15 日
How to write \varkappa character in Matlab environment

サインインしてコメントする。

その他の回答 (2 件)

KSSV
KSSV 2021 年 7 月 16 日
編集済み: KSSV 2021 年 7 月 16 日
\parallel
MATLAB uses the latex symbols. If it doesn't work, you may go for '||' this right?

Walter Roberson
Walter Roberson 2021 年 7 月 16 日
編集済み: Walter Roberson 2021 年 7 月 16 日
abc||def
abc\|def
abc{\parellel}def
xlabel('$abc||def$', 'interpreter', 'latex')
ylabel('$abc\|def$', 'interpreter', 'latex')
title('$abc{\parallel}def', 'interpreter', 'latex')
Warning: Error updating Text.

String scalar or character vector must have valid interpreter syntax:
$abc{\parallel}def
So abc||def and abc\|def are supported for drawing, but not \parallel

カテゴリ

Help Center および File ExchangeSymbolic Math Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by