Hello Sir, I am writing a equation in matlab. in this equation, i have got some problem related to greek word epsilon.

3 views (last 30 days)
Actually sir i m searching on google how to write epsilon symbol they shows like \epsilon or epsi or eps etc. but sir any symbol can not run on my matlab, it gives error unexpected matlab expression. sir, here i m writing equation..... plz tell me sir.
I am upload the image of equation.Plz solve my problem..

Answers (2)

dpb
dpb on 16 Nov 2014
Edited: dpb on 16 Nov 2014
Can't do it; use epsilon or something similar instead...
NB: eps (that I typed first time by reflex) is an inbuilt function so don't use it albeit it's not a heavily-used one it's just bad practice in general to alias TMW-supplied functions as that will cause grief eventually....

Gustavo
Gustavo on 21 Sep 2015
This is not an epsilon, is an 'element of' symbol. That one is written by
\in .
The symbols can change, depending on the function that you are using, And you have not specified what are you using in your question. If you wanna use epsilon in the text, \epsilon shall be ok, but there are two types of epsilon. matlab just give you one.
If are interested in actually using the name epsilon as a variable name, as it was pointed before you should use something else, it's just a variable name.

Community Treasure Hunt

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

Start Hunting!