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

조회 수: 95 (최근 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