How to represent greek letters in matlab?
6 次查看(过去 30 天)
显示 更早的评论
Lets suppose, i want to show or but i cannot.
is there any procedure to handle it without live editor.
0 个评论
回答(1 个)
Peng Li
2020-3-25
Where do you want to show them? On a figure object, MATLAB fully supports latex or tex syntax. You can use, e.g., text(yourXvalue, yourYvalue, 'sin(\theta)') to show this on an axis at place defined by (yourXvalue, yourYvalue).
2 个评论
Peng Li
2020-3-25
I don't think it works in mfile. You'd better use the English version, say, theta, directly as the variable name.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!