MATLAB: How to insert special characters in MATLAB 7.3 (R2006b)

asciilinuxMATLABnative2unicode.unicodeunicode2native

I would like to insert characters like â or in my figure title or axes label. How can I realize this, especially on my Linux machine?

Best Answer

If you have 'dead keys' enabled on your system you can for example just type '^' and afterwards 'a' and will receive 'â'.
Otherwise you can create those characters using the NATIVE2UNICODE function, i.e.:
native2unicode(226)
If you do not know the exact unicode value for the appropriate character you may want to display all possible characters and the assotiated values using i.e.:
x = [num2cell([1:256]') num2cell(native2unicode([1:256]'))]