why i dont get the symbol of pi?

1 件のコメント

Stephen23
Stephen23 2021 年 10 月 20 日
"why i dont get the symbol of pi?"
Why do you expect that entering a TeX command in the MATLAB command prompt should return a "symbol of pi" ?
Did MATLAB turn into a TeX compiler overnight?

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

回答 (1 件)

Rik
Rik 2021 年 10 月 20 日

0 投票

Why did you expect it to? This isn't LaTeX.
If you want the pi symbol in a character vector that is possible:
char(960)
ans = 'π'
Or you can use a text object, which allows you to use LaTeX syntax:
text(0.5,0.5,'\pi')

カテゴリ

ヘルプ センター および File ExchangeSymbolic Math Toolbox についてさらに検索

タグ

質問済み:

2021 年 10 月 20 日

コメント済み:

2021 年 10 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by