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

74 次查看(过去 30 天)
How can I define greek letters, inside one of these functions ? (sprintf, compose, string or char)

采纳的回答

Abhishek Tiwari
Abhishek Tiwari 2022-7-1
编辑:Abhishek Tiwari 2022-7-1
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 = 'α β γ δ ε ζ η θ ι κ λ μ ν ξ ο π ρ ς σ τ υ φ χ ψ ω '

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Labels and Annotations 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by