# How can I type in Greek letter like α or β in MATLAB while I have tried \alpha and \beta ?THANKS!

934 views (last 30 days)
Wanqi Jiang on 29 Jun 2018
I don't konw how to type in Greek letter like α and β in MATLAB ,and I have tried the tip ---- \alpha \beta----however,it doesn't work.
THANKS!
>> \alpha \alpha ↑ 错误: 运算符的使用无效。
>> \Beta \Beta ↑ 错误: 运算符的使用无效。

Walter Roberson on 29 Jun 2018
Walter Roberson on 29 Jun 2018

Aquatris on 29 Jun 2018
You can simply copy the character.
display('α')
ylabel('α')
##### 2 CommentsShowHide 1 older comment
Aquatris on 29 Jun 2018
Thanks for the clarification Walter. I will also keep it in mind.

mohammad mortezaie on 3 Aug 2021
In "more properties" in "Text" change interpreter as "tex"