Is it possible using Greek alphabet to represent variables in MATLAB?
For example, I’d like to use the Greek character epsilon as a variable in MATLAB. I tried to insert \epsilon but I received an error.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It is not possible.
I refer to the following part of Matlab documentation:
Letter is defined as ANSI character between
a-zandA-Z.For example, the following hebrew letter
Alephreturnsfalse(in Matlab R2018a returns true):By the way, you can always check whether your variable name is fine by using
genvarname.