Shortcuts for symbols not recognized

조회 수: 3 (최근 30일)
Matteo Depaola
Matteo Depaola 2019년 11월 11일
댓글: Star Strider 2019년 11월 11일
Hi,
I want to use expressions like \theta , a^2 , \sigma\hat , u_cp etc. but Matlab seems to not recognize them and display them as I write. Could you help me?

답변 (1개)

Star Strider
Star Strider 2019년 11월 11일
It depends on how and where you want to use them. To use them in plots, use the text function, and particularly see the section on Interpreter.
To use the Live Editor, in the MATLAB Home tab, click on New Live Script.
  댓글 수: 2
Star Strider
Star Strider 2019년 11월 11일
Matteo Depaola’s Answer moved here —
I want to use them in plot, table etc. I found on the web it isn't required a function. I should just write '\(name of the greek symbol)' to write the symbol but than matlab leave \theta for example. Can it be a problem of setting?
Star Strider
Star Strider 2019년 11월 11일
To use them in plots, use the text function I linked to. I do not believe you can use them in MATLAB table arrays as variable names or row names.
For help on formating LaTeX, see: The Not So Short Introduction to LaTeX2e.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Labels and Annotations에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by