Shortcuts for symbols not recognized
5 ビュー (過去 30 日間)
古いコメントを表示
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?
0 件のコメント
回答 (1 件)
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
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
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.
参考
カテゴリ
Help Center および File Exchange で Labels and Annotations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!