Hi, I have a string x and in order to determine wether it is a number one can do the following
try flag = isnumeric(eval(x));catch flag=false;end
Is there a better and faster way to do this?
Thanks
Pat.
strings
try flag = isnumeric(eval(x));catch flag=false;end
Best Answer