how to put a bar above a letter in MATLAB equation?
11 views (last 30 days)
Show older comments
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 Comments
Answers (1)
Star Strider
on 15 Aug 2024
You have to specify 'Interpreter','latex' as well.
text(0.5,0.5,'$\bar{x}$', 'Interpreter','latex', 'FontSize',20)
.
0 Comments
See Also
Categories
Find more on Environment and Settings in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!