why i dont get the symbol of pi?

1 Kommentar

Stephen23
Stephen23 am 20 Okt. 2021
"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?

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Rik
Rik am 20 Okt. 2021

0 Stimmen

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')

Kategorien

Mehr zu Symbolic Math Toolbox finden Sie in Hilfe-Center und File Exchange

Tags

Gefragt:

am 20 Okt. 2021

Kommentiert:

am 20 Okt. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by