clc, clear all

name = input('Day name: ','s');

switch lower(name)  %%or only 'name' but for lower case
    case {'sunday','söndag'}
        disp('1')
    case {'monday','måndag'}
        disp('2')
    case {'tuesday','tisdag'}
        disp('3')
    case {'wednesday','onsdag'}
        disp('4')
    case {'thursday','torsdag'}
        disp('5')
    case {'friday','fredag'}
        disp('6')
    otherwise
        disp('7')
end
