globloopprompt = 'Input value for Alpha :';alpha = input(prompt);if (alpha>=0.01 && alpha<=0.2)global alpha;elseerror ('Incorrect alpha value');end
I am new to matlab. Ive created this function and t all works with my corisponding code.
how would i make this code prompt the user to input another value for alpha, if they original enter a value for alpha outside the perameters.
Thank you in advance.