how to put a bar above a letter in MATLAB equation?

10 ビュー (過去 30 日間)
winfrida mwigilwa
winfrida mwigilwa 2024 年 8 月 15 日
回答済み: Star Strider 2024 年 8 月 15 日
I want to write letter x with bar above it but when I write $\bar{x}$ it is not working in MATLAB online. Please I need your help

回答 (1 件)

Star Strider
Star Strider 2024 年 8 月 15 日
You have to specify 'Interpreter','latex' as well.
text(0.5,0.5,'$\bar{x}$', 'Interpreter','latex', 'FontSize',20)
.

カテゴリ

Help Center および File ExchangeEnvironment and Settings についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by