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

14 visualizaciones (últimos 30 días)
winfrida mwigilwa
winfrida mwigilwa el 15 de Ag. de 2024
Respondida: Star Strider el 15 de Ag. de 2024
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

Respuestas (1)

Star Strider
Star Strider el 15 de Ag. de 2024
You have to specify 'Interpreter','latex' as well.
text(0.5,0.5,'$\bar{x}$', 'Interpreter','latex', 'FontSize',20)
.

Categorías

Más información sobre Bar Plots en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by