MATLAB: How to start again from the previous step

repeat

I want to do something like:
x = input('value of x:');
y = input('value of y:');
if (x>=y)
...
else
fprintf('undesirable');
% Then I want to return to the beginning and ask for new x and y inputs. Is there a way to do this? Thank you!

Best Answer