필터 지우기
필터 지우기

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

조회 수: 23 (최근 30일)
winfrida mwigilwa
winfrida mwigilwa 2024년 8월 15일 16:09
답변: Star Strider 2024년 8월 15일 16:26
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일 16:26
You have to specify 'Interpreter','latex' as well.
text(0.5,0.5,'$\bar{x}$', 'Interpreter','latex', 'FontSize',20)
.

태그

Community Treasure Hunt

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

Start Hunting!

Translated by