MATLAB prints ''Greek letters'' in chart text, but how about sprintf, compose, string or char functions?

95 visualizaciones (últimos 30 días)
How can I define greek letters, inside one of these functions ? (sprintf, compose, string or char)

Respuesta aceptada

Abhishek Tiwari
Abhishek Tiwari el 1 de Jul. de 2022
Editada: Abhishek Tiwari el 1 de Jul. de 2022
Hi,
There are lots of pre defined greek letters. You just need to pick right index and use sprintf(). I have listed them below :
sprintf('%c ', 945:969)
ans = 'α β γ δ ε ζ η θ ι κ λ μ ν ξ ο π ρ ς σ τ υ φ χ ψ ω '

Más respuestas (0)

Categorías

Más información sobre Labels and Annotations en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by