Azzera filtri
Azzera filtri

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

74 visualizzazioni (ultimi 30 giorni)
How can I define greek letters, inside one of these functions ? (sprintf, compose, string or char)

Risposta accettata

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

Più risposte (0)

Categorie

Scopri di più su Labels and Annotations in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by