how to put a bar above a letter in MATLAB equation?
11 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
回答(1 个)
Star Strider
2024-8-15
You have to specify 'Interpreter','latex' as well.
text(0.5,0.5,'$\bar{x}$', 'Interpreter','latex', 'FontSize',20)
.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Environment and Settings 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!