y=input('Input a number')
if isnumeric(y) ~= 1
disp('The entry is not a number')
I am asking the user to input a number. I would like to know how to test if a user has entered something, for example 'g'. At the moment when I input this, it says that 'g' is an unrecognised variable. I would like to know how to do this using the 'isnumeric' function.