How to write a character sequence for parallel symbol?

조회 수: 62 (최근 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 CenterFile Exchange에서 Symbolic Math Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by